|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Writer groovy.xml.streamingmarkupsupport.StreamingMarkupWriter
public class StreamingMarkupWriter extends java.io.Writer
Field Summary | |
---|---|
protected java.nio.charset.CharsetEncoder |
encoder
|
protected java.lang.String |
encoding
|
protected boolean |
encodingKnown
|
protected boolean |
haveHighSurrogate
|
protected java.lang.StringBuffer |
surrogatePair
|
protected java.io.Writer |
writer
|
protected boolean |
writingAttribute
|
Constructor Summary | |
StreamingMarkupWriter(java.io.Writer writer, java.lang.String encoding)
|
|
StreamingMarkupWriter(java.io.Writer writer, java.lang.String encoding, boolean useDoubleQuotes)
|
|
StreamingMarkupWriter(java.io.Writer writer)
|
Method Summary | |
---|---|
void
|
close()
|
java.io.Writer
|
escaped()
|
void
|
flush()
|
java.lang.String
|
getEncoding()
|
boolean
|
getEncodingKnown()
|
void
|
setWritingAttribute(boolean writingAttribute)
|
java.io.Writer
|
unescaped()
|
void
|
write(int c)
|
void
|
write(char[] cbuf, int off, int len)
|
Methods inherited from class java.io.Writer | |
---|---|
java.io.Writer#append(java.lang.CharSequence), java.io.Writer#append(java.lang.CharSequence, int, int), java.io.Writer#append(char), java.io.Writer#append(char), java.io.Writer#append(java.lang.CharSequence, int, int), java.io.Writer#append(java.lang.CharSequence), java.io.Writer#write(int), java.io.Writer#write([C), java.io.Writer#write([C, int, int), java.io.Writer#write(java.lang.String), java.io.Writer#write(java.lang.String, int, int), java.io.Writer#flush(), java.io.Writer#close(), java.io.Writer#wait(long), java.io.Writer#wait(long, int), java.io.Writer#wait(), java.io.Writer#equals(java.lang.Object), java.io.Writer#toString(), java.io.Writer#hashCode(), java.io.Writer#getClass(), java.io.Writer#notify(), java.io.Writer#notifyAll() |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
protected final java.nio.charset.CharsetEncoder encoder
protected final java.lang.String encoding
protected boolean encodingKnown
protected boolean haveHighSurrogate
protected java.lang.StringBuffer surrogatePair
protected final java.io.Writer writer
protected boolean writingAttribute
Constructor Detail |
---|
public StreamingMarkupWriter(java.io.Writer writer, java.lang.String encoding)
public StreamingMarkupWriter(java.io.Writer writer, java.lang.String encoding, boolean useDoubleQuotes)
public StreamingMarkupWriter(java.io.Writer writer)
Method Detail |
---|
public void close()
public java.io.Writer escaped()
public void flush()
public java.lang.String getEncoding()
public boolean getEncodingKnown()
public void setWritingAttribute(boolean writingAttribute)
public java.io.Writer unescaped()
public void write(int c)
public void write(char[] cbuf, int off, int len)
Groovy Documentation