4.2 DocumentHandler methods

characters (ch, start, length)
Handle a character data event.

endDocument ()
Handle an event for the end of a document.

endElement (name)
Handle an event for the end of an element.

ignorableWhitespace (ch, start, length)
Handle an event for ignorable whitespace in element content.

processingInstruction (target, data)
Handle a processing instruction event.

setDocumentLocator (locator)
Receive an object for locating the origin of SAX document events. You'll probably want to store the value of locator as an attribute of the handler instance.

startDocument ()
Handle an event for the beginning of a document.

startElement (name, attrs)
Handle an event for the beginning of an element.