public class CompactWriter extends PrettyPrintWriter
depth, XML_1_0, XML_1_0_REPLACEMENT, XML_1_1, XML_1_1_REPLACEMENT, XML_QUIRKS
Constructor and Description |
---|
CompactWriter(java.io.Writer writer) |
CompactWriter(java.io.Writer writer,
int mode) |
CompactWriter(java.io.Writer writer,
int mode,
NameCoder nameCoder) |
CompactWriter(java.io.Writer writer,
int mode,
XmlFriendlyReplacer replacer)
Deprecated.
As of 1.4 use
CompactWriter(Writer, int, NameCoder) instead. |
CompactWriter(java.io.Writer writer,
NameCoder nameCoder) |
CompactWriter(java.io.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(java.io.Writer writer)
public CompactWriter(java.io.Writer writer, int mode)
public CompactWriter(java.io.Writer writer, NameCoder nameCoder)
public CompactWriter(java.io.Writer writer, int mode, NameCoder nameCoder)
public CompactWriter(java.io.Writer writer, XmlFriendlyReplacer replacer)
CompactWriter(Writer, NameCoder)
instead.public CompactWriter(java.io.Writer writer, int mode, XmlFriendlyReplacer replacer)
CompactWriter(Writer, int, NameCoder)
instead.protected void endOfLine()
endOfLine
in class PrettyPrintWriter
Copyright © 2004–2024 XStream. All rights reserved.