com.jclark.xsl.sax
Class Indenter
java.lang.Object
com.jclark.xsl.sax.Indenter
- DocumentHandler, CommentHandler, OutputDocumentHandler, RawCharactersHandler
public class Indenter
extends java.lang.Object
performs "pretty-printing" by wrapping another
OutputDocumentHandler, 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 name)
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)
startDocument
public void startDocument()
throws SAXException
startElement
public void startElement(String name,
AttributeList atts)
throws SAXException