Default base class for SAX2 event handlers.
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY.
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:
- {@link org.xml.sax.EntityResolver EntityResolver}
- {@link org.xml.sax.DTDHandler DTDHandler}
- {@link org.xml.sax.ContentHandler ContentHandler}
- {@link org.xml.sax.ErrorHandler ErrorHandler}
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 {@link org.xml.sax.HandlerBase HandlerBase} class.
@since SAX 2.0
@author David Megginson,
sax@megginson.com
@version 2.0
@see org.xml.sax.EntityResolver
@see org.xml.sax.DTDHandler
@see org.xml.sax.ContentHandler
@see org.xml.sax.ErrorHandler