public class CompactWriter extends PrettyPrintWriter
depth, XML_1_0, XML_1_1, XML_QUIRKS
Constructor and Description |
---|
CompactWriter(Writer writer) |
CompactWriter(Writer writer,
int mode) |
CompactWriter(Writer writer,
int mode,
NameCoder nameCoder) |
CompactWriter(Writer writer,
int mode,
XmlFriendlyReplacer replacer)
Deprecated.
As of 1.4 use
CompactWriter(Writer, int, NameCoder) instead. |
CompactWriter(Writer writer,
NameCoder nameCoder) |
CompactWriter(Writer writer,
XmlFriendlyReplacer replacer)
Deprecated.
As of 1.4 use
CompactWriter(Writer, NameCoder) instead. |
Modifier and Type | Method and Description |
---|---|
protected void |
endOfLine() |
addAttribute, close, endNode, flush, getNewLine, setValue, startNode, startNode, writeAttributeValue, writeText
escapeXmlName
encodeAttribute, encodeNode, underlyingWriter
public CompactWriter(Writer writer)
public CompactWriter(Writer writer, int mode)
public CompactWriter(Writer writer, XmlFriendlyReplacer replacer)
CompactWriter(Writer, NameCoder)
instead.public CompactWriter(Writer writer, int mode, XmlFriendlyReplacer replacer)
CompactWriter(Writer, int, NameCoder)
instead.protected void endOfLine()
endOfLine
in class PrettyPrintWriter
Copyright © 2004–2016 XStream. All rights reserved.