Uses of Interface
org.xml.sax.ErrorHandler
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 of ErrorHandler in javax.xml.parsers
Modifier and TypeMethodDescriptionabstract void
DocumentBuilder.setErrorHandler
(ErrorHandler eh) Specify theErrorHandler
to be used by the parser. -
Uses of ErrorHandler in javax.xml.validation
Modifier and TypeMethodDescriptionabstract ErrorHandler
SchemaFactory.getErrorHandler()
Gets the currentErrorHandler
set to thisSchemaFactory
.abstract ErrorHandler
Validator.getErrorHandler()
Gets the currentErrorHandler
set to thisValidator
.abstract ErrorHandler
ValidatorHandler.getErrorHandler()
Gets the currentErrorHandler
set to thisValidatorHandler
.Modifier 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 of ErrorHandler in org.xml.sax
Modifier 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 of ErrorHandler in org.xml.sax.ext
Modifier and TypeClassDescriptionclass
This class extends the SAX2 base handler class to support the SAX2LexicalHandler
,DeclHandler
, andEntityResolver2
extensions. -
Uses of ErrorHandler in org.xml.sax.helpers
Modifier and TypeClassDescriptionclass
Default base class for SAX2 event handlers.class
Base class for deriving an XML filter.Modifier and TypeMethodDescriptionParserAdapter.getErrorHandler()
Return the current error handler.XMLFilterImpl.getErrorHandler()
Get the current error event handler.Modifier 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.
DocumentHandler
interface.