performs "pretty-printing" by wrapping another
ContentHandler, intercepting SAX events,
and inserting whitespace events as appropriate.
... (Actually, I don't think it adds any
indenting, just newlines)
characters
public void characters(ch[] ,
int start,
int length)
throws SAXException
endDocument
public void endDocument()
throws SAXException
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
endPrefixMapping
public void endPrefixMapping(String prefix)
throws SAXException
ignorableWhitespace
public void ignorableWhitespace(ch[] ,
int start,
int length)
throws SAXException
processingInstruction
public void processingInstruction(String target,
String data)
throws SAXException
setDocumentLocator
public void setDocumentLocator(Locator locator)
skippedEntity
public void skippedEntity(String name)
throws SAXException
startDocument
public void startDocument()
throws SAXException
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
startPrefixMapping
public void startPrefixMapping(String prefix,
String namespaceURI)
throws SAXException