Class StreamingMarkupWriter
java.lang.Object
java.io.Writer
groovy.xml.streamingmarkupsupport.StreamingMarkupWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CharsetEncoder
protected final String
protected boolean
protected boolean
protected StringBuilder
protected final Writer
protected boolean
-
Constructor Summary
ConstructorDescriptionStreamingMarkupWriter
(Writer writer) StreamingMarkupWriter
(Writer writer, String encoding) StreamingMarkupWriter
(Writer writer, String encoding, boolean useDoubleQuotes) -
Method Summary
-
Field Details
-
writer
-
encoding
-
encodingKnown
protected boolean encodingKnown -
encoder
-
writingAttribute
protected boolean writingAttribute -
haveHighSurrogate
protected boolean haveHighSurrogate -
surrogatePair
-
-
Constructor Details
-
StreamingMarkupWriter
-
StreamingMarkupWriter
-
StreamingMarkupWriter
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
setWritingAttribute
public void setWritingAttribute(boolean writingAttribute) -
escaped
-
unescaped
-
getEncoding
-
getEncodingKnown
public boolean getEncodingKnown()
-