Top Fields Constructors Methods
com.thoughtworks.xstream.io.xml

public Class CompactWriter

extends PrettyPrintWriter
Class Inheritance
Imports
com.thoughtworks.xstream.io.naming.NameCoder, java.io.Writer

Deprecated

as a consequence of PrettyPrintWriter being deprecated. See corresponding docs for further information.

Field Summary

Inherited from com.thoughtworks.xstream.io.xml.PrettyPrintWriter:
depthXML_1_0XML_1_1XML_QUIRKS

Constructor Summary

AccessConstructor and Description
public
public
CompactWriter(Writer writer, int mode)

public
CompactWriter(Writer writer, NameCoder nameCoder)

public
CompactWriter(Writer writer, int mode, NameCoder nameCoder)

public
CompactWriter(Writer writer, XmlFriendlyReplacer replacer)

Deprecated As of 1.4 use CompactWriter#CompactWriter(Writer, NameCoder) instead.
public
CompactWriter(Writer writer, int mode, XmlFriendlyReplacer replacer)

Deprecated As of 1.4 use CompactWriter#CompactWriter(Writer, int, NameCoder) instead.

Method Summary

Modifier and TypeMethod and Description
protected void
Inherited from com.thoughtworks.xstream.io.xml.PrettyPrintWriter:
addAttributecloseendNodeflushgetNewLinesetValuestartNodestartNodewriteAttributeValuewriteText

Constructor Detail

CompactWriterback to summary
public CompactWriter(Writer writer)
CompactWriterback to summary
public CompactWriter(Writer writer, int mode)
Since
1.3
CompactWriterback to summary
public CompactWriter(Writer writer, NameCoder nameCoder)
Since
1.4
CompactWriterback to summary
public CompactWriter(Writer writer, int mode, NameCoder nameCoder)
Since
1.4
CompactWriterback to summary
public CompactWriter(Writer writer, XmlFriendlyReplacer replacer)

Deprecated

As of 1.4 use CompactWriter#CompactWriter(Writer, NameCoder) instead.

CompactWriterback to summary
public CompactWriter(Writer writer, int mode, XmlFriendlyReplacer replacer)

Deprecated

As of 1.4 use CompactWriter#CompactWriter(Writer, int, NameCoder) instead.

Since
1.3

Method Detail

endOfLineback to summary
protected void endOfLine()

Overrides com.thoughtworks.xstream.io.xml.PrettyPrintWriter.endOfLine.