XmlFormatter
, XmlRecorder
public class Formatter extends Recorder implements XmlFormatter
declaredNs, declaredPrefixes, out
Constructor | Description |
---|---|
Formatter() |
Modifier and Type | Method | 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOutput, setOutput, write, writeContent, writeEscaped, writeNode, writeStartTag, writeStartTagStart, writeXml
getOutput, setOutput, write, writeContent, writeNode, writeStartTag, writeStartTagStart, writeXml
public boolean isEndTagNewLine()
XmlFormatter
isEndTagNewLine
in interface XmlFormatter
XmlFormatter.setEndTagNewLine(boolean)
public void setEndTagNewLine(boolean enable)
setEndTagNewLine
in interface XmlFormatter
public void writeEndTag(XmlEndTag etag) throws java.io.IOException, XmlPullParserException
writeEndTag
in interface XmlRecorder
writeEndTag
in class Recorder
java.io.IOException
XmlPullParserException
public void writeStartTagAsEndTag(XmlStartTag stag) throws java.io.IOException, XmlPullParserException
writeStartTagAsEndTag
in interface XmlRecorder
writeStartTagAsEndTag
in class Recorder
java.io.IOException
XmlPullParserException
Copyright (c) 2003 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.
Note this package is deprecated by XPP3 that implements XmlPull API