org.gjt.xpp.impl.format

Class Formatter

public class Formatter extends Recorder implements XmlFormatter

Implementatin of Recorder that is simply writing XML to output sink.

Author: Aleksander Slominski

Constructor Summary
Formatter()
Method Summary
booleanisEndTagNewLine()
voidsetEndTagNewLine(boolean enable)
Should new line be added after end tag?
voidwriteEndTag(XmlEndTag etag)
voidwriteStartTagAsEndTag(XmlStartTag stag)

Constructor Detail

Formatter

public Formatter()

Method Detail

isEndTagNewLine

public boolean isEndTagNewLine()

setEndTagNewLine

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

writeEndTag

public void writeEndTag(XmlEndTag etag)

writeStartTagAsEndTag

public void writeStartTagAsEndTag(XmlStartTag stag)
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