DefaultHandler

public class DefaultHandler extends Object
implements EntityResolver DTDHandler ContentHandler ErrorHandler
Known Direct Subclasses

Default base class for SAX2 event handlers.

This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY. See http://www.saxproject.org for further information.

This class is available as a convenience base class for SAX2 applications: it provides default implementations for all of the callbacks in the four core SAX2 handler classes:

Application writers can extend this class when they need to implement only part of an interface; parser writers can instantiate this class to provide default handlers when the application has not supplied its own.

This class replaces the deprecated SAX1 HandlerBase class.

Public Constructor Summary

Public Method Summary

void
characters(char[] ch, int start, int length)
Receive notification of character data inside an element.
void
endDocument()
Receive notification of the end of the document.
void
endElement(String uri, String localName, String qName)