net.sf.saxon.event
Class XMLIndenter
- Receiver, Result
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.
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
|
append , attribute , characters , close , comment , endDocument , endElement , getConfiguration , getDocumentLocator , getNamePool , getUnderlyingReceiver , namespace , open , processingInstruction , setPipelineConfiguration , setSystemId , setUnderlyingReceiver , setUnparsedEntity , startContent , startDocument , startElement |
XMLIndenter
public XMLIndenter()
Create an XML Indenter
setOutputProperties
public void setOutputProperties(Properties props)
Set the properties for this indenter
props
- the serialization properties