Module java.xml
Package org.xml.sax

Class HandlerBase

java.lang.Object
org.xml.sax.HandlerBase
All Implemented Interfaces:
DocumentHandler, DTDHandler, EntityResolver, ErrorHandler

@Deprecated(since="1.5")
public class HandlerBase
extends Object
implements EntityResolver, DTDHandler, DocumentHandler, ErrorHandler
Deprecated.
This class works with the deprecated DocumentHandler interface. It has been replaced by the SAX2 DefaultHandler class.
Default base class for 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 implements the default behaviour for four SAX1 interfaces: EntityResolver, DTDHandler, DocumentHandler, and ErrorHandler. It is now obsolete, but is included in SAX2 to support legacy SAX1 applications. SAX2 applications should use the DefaultHandler class instead.

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.

Note that the use of this class is optional.

Since:
1.4, SAX 1.0
See Also:
EntityResolver, DTDHandler, DocumentHandler, ErrorHandler
  • Constructor Details

  • Method Details