Class StreamingMarkupWriter
java.lang.Object
java.io.Writer
groovy.xml.streamingmarkupsupport.StreamingMarkupWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CharsetEncoderprotected final Stringprotected booleanprotected booleanprotected StringBuilderprotected final Writerprotected boolean -
Constructor Summary
ConstructorsConstructorDescriptionStreamingMarkupWriter(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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-
write
- Specified by:
writein classWriter- Throws:
IOException
-
setWritingAttribute
public void setWritingAttribute(boolean writingAttribute) -
escaped
-
unescaped
-
getEncoding
-
getEncodingKnown
public boolean getEncodingKnown()
-