private static class XmlWriterWrapper.TextWrapper extends XmlWriterWrapper
writeCharacters
methods.
This means that text content escaping (and, possibly, validation)
is done, using default or custom escaping code.mWriter
Modifier | Constructor and Description |
---|---|
protected |
TextWrapper(XmlWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
write(char[] cbuf,
int off,
int len) |
void |
write(java.lang.String str) |
void |
write(java.lang.String str,
int off,
int len) |
close, flush, wrapWriteCharacters, wrapWriteRaw, write, write
protected TextWrapper(XmlWriter writer)
public void write(char[] cbuf, int off, int len) throws java.io.IOException
write
in class XmlWriterWrapper
java.io.IOException
public void write(java.lang.String str) throws java.io.IOException
write
in class XmlWriterWrapper
java.io.IOException
public void write(java.lang.String str, int off, int len) throws java.io.IOException
write
in class XmlWriterWrapper
java.io.IOException