Package com.thoughtworks.xstream.io.xml
Class CompactWriter
java.lang.Object
com.thoughtworks.xstream.io.AbstractWriter
com.thoughtworks.xstream.io.xml.AbstractXmlWriter
com.thoughtworks.xstream.io.xml.PrettyPrintWriter
com.thoughtworks.xstream.io.xml.CompactWriter
- All Implemented Interfaces:
ExtendedHierarchicalStreamWriter
,HierarchicalStreamWriter
,XmlFriendlyWriter
-
Field Summary
Fields inherited from class com.thoughtworks.xstream.io.xml.PrettyPrintWriter
depth, XML_1_0, XML_1_1, XML_QUIRKS
-
Constructor Summary
ConstructorsConstructorDescriptionCompactWriter
(Writer writer) CompactWriter
(Writer writer, int mode) CompactWriter
(Writer writer, int mode, NameCoder nameCoder) CompactWriter
(Writer writer, int mode, XmlFriendlyReplacer replacer) Deprecated.CompactWriter
(Writer writer, NameCoder nameCoder) CompactWriter
(Writer writer, XmlFriendlyReplacer replacer) Deprecated.As of 1.4 useCompactWriter(Writer, NameCoder)
instead. -
Method Summary
Methods inherited from class com.thoughtworks.xstream.io.xml.PrettyPrintWriter
addAttribute, close, endNode, flush, getNewLine, setValue, startNode, startNode, writeAttributeValue, writeText
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXmlWriter
escapeXmlName
Methods inherited from class com.thoughtworks.xstream.io.AbstractWriter
encodeAttribute, encodeNode, underlyingWriter
-
Constructor Details
-
CompactWriter
-
CompactWriter
- Since:
- 1.3
-
CompactWriter
- Since:
- 1.4
-
CompactWriter
- Since:
- 1.4
-
CompactWriter
Deprecated.As of 1.4 useCompactWriter(Writer, NameCoder)
instead. -
CompactWriter
Deprecated.As of 1.4 useCompactWriter(Writer, int, NameCoder)
instead.- Since:
- 1.3
-
-
Method Details
-
endOfLine
protected void endOfLine()- Overrides:
endOfLine
in classPrettyPrintWriter
-
CompactWriter(Writer, int, NameCoder)
instead.