net.sf.saxon.event
Class XMLIndenter
public
class
XMLIndenter
extends ProxyReceiver
XMLIndenter: This ProxyReceiver indents elements, by adding character data where appropriate.
The character data is always added as "ignorable white space", that is, it is never added
adjacent to existing character data.
Author: Michael Kay
Method Summary |
void | attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties)
Output an attribute |
void | characters(CharSequence chars, int locationId, int properties)
Output character data |
void | comment(CharSequence chars, int locationId, int properties)
Output a comment |
void | endElement()
Output element end tag |
void | open()
Start of document |
void | processingInstruction(String target, CharSequence data, int locationId, int properties)
Output a processing instruction |
void | setOutputProperties(Properties props)
Set the properties for this indenter |
void | startElement(int nameCode, int typeCode, int locationId, int properties)
Output element start tag |
public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties)
Output an attribute
public void characters(CharSequence chars, int locationId, int properties)
Output character data
public void comment(CharSequence chars, int locationId, int properties)
Output a comment
public void endElement()
Output element end tag
public void open()
Start of document
public void processingInstruction(String target, CharSequence data, int locationId, int properties)
Output a processing instruction
public void setOutputProperties(Properties props)
Set the properties for this indenter
public void startElement(int nameCode, int typeCode, int locationId, int properties)
Output element start tag