public class EscapingPrintWriter extends com.thoughtworks.xstream.io.xml.PrettyPrintWriter implements PrintWriter
| Constructor and Description |
|---|
EscapingPrintWriter(Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
String |
makeString()
Get string representation of PrintWriter.
|
void |
setRawValue(String text)
Write text without any escaping.
|
protected void |
writeText(com.thoughtworks.xstream.core.util.QuickWriter writer,
String text) |
addAttribute, close, endNode, endOfLine, flush, getNewLine, setValue, startNode, startNode, writeAttributeValueencodeAttribute, encodeNode, underlyingWriterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic EscapingPrintWriter(Writer writer)
public void setRawValue(String text)
PrintWritersetRawValue in interface PrintWritertext - the string to this printwriter should write.public String makeString()
PrintWritermakeString in interface PrintWriterprotected void writeText(com.thoughtworks.xstream.core.util.QuickWriter writer,
String text)
writeText in class com.thoughtworks.xstream.io.xml.PrettyPrintWriterThis work is licensed under a Creative Commons Attribution 4.0 International License.