com.thoughtworks.xstream.io.xml
Class CompactWriter

java.lang.Object
  extended bycom.thoughtworks.xstream.io.xml.AbstractXmlWriter
      extended bycom.thoughtworks.xstream.io.xml.PrettyPrintWriter
          extended bycom.thoughtworks.xstream.io.xml.CompactWriter
All Implemented Interfaces:
ExtendedHierarchicalStreamWriter, HierarchicalStreamWriter

public class CompactWriter
extends PrettyPrintWriter


Constructor Summary
CompactWriter(java.io.Writer writer)
           
CompactWriter(java.io.Writer writer, XmlFriendlyReplacer replacer)
           
 
Method Summary
protected  void endOfLine()
           
 
Methods inherited from class com.thoughtworks.xstream.io.xml.PrettyPrintWriter
addAttribute, close, endNode, flush, setValue, startNode, startNode, writeAttributeValue, writeText
 
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXmlWriter
escapeXmlName, underlyingWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompactWriter

public CompactWriter(java.io.Writer writer)

CompactWriter

public CompactWriter(java.io.Writer writer,
                     XmlFriendlyReplacer replacer)
Method Detail

endOfLine

protected void endOfLine()
Overrides:
endOfLine in class PrettyPrintWriter


Joe Walnes, http://xstream.codehaus.org/