Uses of Interface
org.xml.sax.ErrorHandler
Packages that useErrorHandler
Package
Description
Provides the classes for processing XML documents with a SAX (Simple API for XML) parser or a DOM (Document Object Model) Document builder.
Provides an API for validation of XML documents.
Provides the interfaces for the Simple API for XML (SAX).
Provides interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support.
Provides helper classes, including support for bootstrapping SAX-based applications.
Uses ofErrorHandler injavax.xml.parsers
Methods injavax.xml.parsers with parameters of typeErrorHandlerModifier and TypeMethodDescriptionabstract void
DocumentBuilder.setErrorHandler
(ErrorHandler eh) Specify theErrorHandler
to be used by the parser.Uses ofErrorHandler injavax.xml.validation
Methods injavax.xml.validation that returnErrorHandlerModifier and TypeMethodDescriptionabstractErrorHandler
SchemaFactory.getErrorHandler()
Gets the currentErrorHandler
set to thisSchemaFactory
.abstractErrorHandler
Validator.getErrorHandler()
Gets the currentErrorHandler
set to thisValidator
.abstractErrorHandler
ValidatorHandler.getErrorHandler()
Gets the currentErrorHandler
set to thisValidatorHandler
.Methods injavax.xml.validation with parameters of typeErrorHandlerModifier and TypeMethodDescriptionabstract void
SchemaFactory.setErrorHandler
(ErrorHandler errorHandler) Sets theErrorHandler
to receive errors encountered during thenewSchema
method invocation.abstract void
Validator.setErrorHandler
(ErrorHandler errorHandler) Sets theErrorHandler
to receive errors encountered during thevalidate
method invocation.abstract void
ValidatorHandler.setErrorHandler
(ErrorHandler errorHandler) Sets theErrorHandler
to receive errors encountered during the validation.Uses ofErrorHandler inorg.xml.sax
Classes inorg.xml.sax that implementErrorHandlerModifier and TypeClassDescriptionclass
Deprecated.This class works with the deprecatedDocumentHandler
interface.Methods inorg.xml.sax that returnErrorHandlerMethods inorg.xml.sax with parameters of typeErrorHandlerModifier and TypeMethodDescriptionvoid
Parser.setErrorHandler
(ErrorHandler handler) Deprecated.Allow an application to register an error event handler.void
XMLReader.setErrorHandler
(ErrorHandler handler) Allow an application to register an error event handler.Uses ofErrorHandler inorg.xml.sax.ext
Classes inorg.xml.sax.ext that implementErrorHandlerModifier and TypeClassDescriptionclass
This class extends the SAX2 base handler class to support the SAX2LexicalHandler
,DeclHandler
, andEntityResolver2
extensions.Uses ofErrorHandler inorg.xml.sax.helpers
Classes inorg.xml.sax.helpers that implementErrorHandlerModifier and TypeClassDescriptionclass
Default base class for SAX2 event handlers.class
Base class for deriving an XML filter.Methods inorg.xml.sax.helpers that returnErrorHandlerModifier and TypeMethodDescriptionParserAdapter.getErrorHandler()
Return the current error handler.XMLFilterImpl.getErrorHandler()
Get the current error event handler.Methods inorg.xml.sax.helpers with parameters of typeErrorHandlerModifier and TypeMethodDescriptionvoid
ParserAdapter.setErrorHandler
(ErrorHandler handler) Set the error handler.void
XMLFilterImpl.setErrorHandler
(ErrorHandler handler) Set the error event handler.void
XMLReaderAdapter.setErrorHandler
(ErrorHandler handler) Register the error event handler.