Package org.codehaus.plexus.util.xml
Class CompactXMLWriter
- java.lang.Object
-
- org.codehaus.plexus.util.xml.PrettyPrintXMLWriter
-
- org.codehaus.plexus.util.xml.CompactXMLWriter
-
- All Implemented Interfaces:
XMLWriter
public class CompactXMLWriter extends PrettyPrintXMLWriter
-
-
Field Summary
-
Fields inherited from class org.codehaus.plexus.util.xml.PrettyPrintXMLWriter
LS
-
-
Constructor Summary
Constructors Constructor Description CompactXMLWriter(PrintWriter writer)
CompactXMLWriter(Writer writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
endOfLine()
Write the end of line character (using specified line separator) and start new line with indentation-
Methods inherited from class org.codehaus.plexus.util.xml.PrettyPrintXMLWriter
addAttribute, endElement, getDepth, getDocType, getElementStack, getEncoding, getLineIndenter, getLineSeparator, getWriter, setDepth, setDocType, setEncoding, setLineIndenter, setLineSeparator, setWriter, startElement, writeMarkup, writeText
-
-
-
-
Constructor Detail
-
CompactXMLWriter
public CompactXMLWriter(PrintWriter writer)
-
CompactXMLWriter
public CompactXMLWriter(Writer writer)
-
-
Method Detail
-
endOfLine
protected void endOfLine()
Description copied from class:PrettyPrintXMLWriter
Write the end of line character (using specified line separator) and start new line with indentation- Overrides:
endOfLine
in classPrettyPrintXMLWriter
- See Also:
PrettyPrintXMLWriter.getLineIndenter()
,PrettyPrintXMLWriter.getLineSeparator()
-
-