org.gjt.xpp

Interface XmlFormatter

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
booleanisEndTagNewLine()
Should new line be added after end tag?
voidsetEndTagNewLine(boolean enable)
Should new line be added after end tag?

Method Detail

isEndTagNewLine

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

See Also: XmlFormatter

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