groovy.xml.streamingmarkupsupport
Class StreamingMarkupWriter
java.lang.Object
   java.io.Writer
java.io.Writer
       groovy.xml.streamingmarkupsupport.StreamingMarkupWriter
groovy.xml.streamingmarkupsupport.StreamingMarkupWriter
- All Implemented Interfaces: 
- Closeable, Flushable, Appendable
- public class StreamingMarkupWriter 
- extends Writer
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
writer
protected final Writer writer
encoding
protected final String encoding
encodingKnown
protected boolean encodingKnown
encoder
protected final CharsetEncoder encoder
writingAttribute
protected boolean writingAttribute
haveHighSurrogate
protected boolean haveHighSurrogate
surrogatePair
protected StringBuffer surrogatePair
StreamingMarkupWriter
public StreamingMarkupWriter(Writer writer,
                             String encoding)
StreamingMarkupWriter
public StreamingMarkupWriter(Writer writer)
close
public void close()
           throws IOException
- 
- Specified by:
- closein interface- Closeable
- Specified by:
- closein class- Writer
 
- 
- Throws:
- IOException
 
flush
public void flush()
           throws IOException
- 
- Specified by:
- flushin interface- Flushable
- Specified by:
- flushin class- Writer
 
- 
- Throws:
- IOException
 
write
public void write(int c)
           throws IOException
- 
- Overrides:
- writein class- Writer
 
- 
- Throws:
- IOException
 
write
public void write(char[] cbuf,
                  int off,
                  int len)
           throws IOException
- 
- Specified by:
- writein class- Writer
 
- 
- Throws:
- IOException
 
setWritingAttribute
public void setWritingAttribute(boolean writingAttribute)
- 
 
escaped
public Writer escaped()
- 
 
unescaped
public Writer unescaped()
- 
 
getEncoding
public String getEncoding()
- 
 
getEncodingKnown
public boolean getEncodingKnown()
-