public class CompactXMLWriter extends PrettyPrintXMLWriter
LS
Constructor and Description |
---|
CompactXMLWriter(PrintWriter writer) |
CompactXMLWriter(Writer writer) |
Modifier and Type | Method and Description |
---|---|
protected void |
endOfLine()
Write the end of line character (using specified line separator) and start new line with indentation
|
addAttribute, endElement, getDepth, getDocType, getElementStack, getEncoding, getLineIndenter, getLineSeparator, getWriter, setDepth, setDocType, setEncoding, setLineIndenter, setLineSeparator, setWriter, startElement, writeMarkup, writeText
public CompactXMLWriter(PrintWriter writer)
public CompactXMLWriter(Writer writer)
protected void endOfLine()
PrettyPrintXMLWriter
endOfLine
in class PrettyPrintXMLWriter
PrettyPrintXMLWriter.getLineIndenter()
,
PrettyPrintXMLWriter.getLineSeparator()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.