org.gjt.xpp
Interface XmlFormatter

All Superinterfaces:
XmlRecorder

public interface XmlFormatter
extends XmlRecorder

This interface extends XmlRecorder to give some control over formattingof XML output.

Author:
Aleksander Slominski
See Also:
XmlRecorder

Method Summary
 boolean isEndTagNewLine()
          Should new line be added after end tag?
 void setEndTagNewLine(boolean enable)
          Should new line be added after end tag?
 
Methods inherited from interface org.gjt.xpp.XmlRecorder
getOutput, setOutput, write, writeContent, writeEndTag, writeNode, writeStartTag, writeStartTagAsEndTag, writeStartTagStart, writeXml
 

Method Detail

isEndTagNewLine

public boolean isEndTagNewLine()
Should new line be added after end tag?

See Also:
setEndTagNewLine(boolean)

setEndTagNewLine

public void setEndTagNewLine(boolean enable)
Should new line be added after end tag?

NOTE: setting it to true will affect output XML parsing when there are elements with mixed content allowed!



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