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
public class CompactWriter extends PrettyPrintWriter
-
-
Field Summary
-
Fields inherited from class com.thoughtworks.xstream.io.xml.PrettyPrintWriter
depth, XML_1_0, XML_1_1, XML_QUIRKS
-
-
Constructor Summary
Constructors Constructor 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 useCompactWriter(Writer, int, NameCoder)
instead.CompactWriter(java.io.Writer writer, NameCoder nameCoder)
CompactWriter(java.io.Writer writer, XmlFriendlyReplacer replacer)
Deprecated.As of 1.4 useCompactWriter(Writer, NameCoder)
instead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
endOfLine()
-
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 Detail
-
CompactWriter
public CompactWriter(java.io.Writer writer)
-
CompactWriter
public CompactWriter(java.io.Writer writer, int mode)
- Since:
- 1.3
-
CompactWriter
public CompactWriter(java.io.Writer writer, NameCoder nameCoder)
- Since:
- 1.4
-
CompactWriter
public CompactWriter(java.io.Writer writer, int mode, NameCoder nameCoder)
- Since:
- 1.4
-
CompactWriter
public CompactWriter(java.io.Writer writer, XmlFriendlyReplacer replacer)
Deprecated.As of 1.4 useCompactWriter(Writer, NameCoder)
instead.
-
CompactWriter
public CompactWriter(java.io.Writer writer, int mode, XmlFriendlyReplacer replacer)
Deprecated.As of 1.4 useCompactWriter(Writer, int, NameCoder)
instead.- Since:
- 1.3
-
-
Method Detail
-
endOfLine
protected void endOfLine()
- Overrides:
endOfLine
in classPrettyPrintWriter
-
-