public class Formatter extends Recorder implements XmlFormatter
declaredNs, declaredPrefixes, out| Constructor and Description |
|---|
Formatter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEndTagNewLine()
Should new line be added after end tag?
|
void |
setEndTagNewLine(boolean enable)
Should new line be added after end tag?
|
void |
writeEndTag(XmlEndTag etag) |
void |
writeStartTagAsEndTag(XmlStartTag stag) |
getOutput, setOutput, write, writeContent, writeEscaped, writeNode, writeStartTag, writeStartTagStart, writeXmlclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOutput, setOutput, write, writeContent, writeNode, writeStartTag, writeStartTagStart, writeXmlpublic boolean isEndTagNewLine()
XmlFormatterisEndTagNewLine in interface XmlFormatterXmlFormatter.setEndTagNewLine(boolean)public void setEndTagNewLine(boolean enable)
setEndTagNewLine in interface XmlFormatterpublic void writeEndTag(XmlEndTag etag) throws java.io.IOException, XmlPullParserException
writeEndTag in interface XmlRecorderwriteEndTag in class Recorderjava.io.IOExceptionXmlPullParserExceptionpublic void writeStartTagAsEndTag(XmlStartTag stag) throws java.io.IOException, XmlPullParserException
writeStartTagAsEndTag in interface XmlRecorderwriteStartTagAsEndTag in class Recorderjava.io.IOExceptionXmlPullParserExceptionCopyright (c) 2003 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.
Note this package is deprecated by XPP3 that implements XmlPull API