Uses of Interface
org.xml.sax.ErrorHandler
Packages that use 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
Methods in javax.xml.parsers with parameters of type ErrorHandlerModifier and TypeMethodDescriptionabstract voidDocumentBuilder.setErrorHandler(ErrorHandler eh) Specify theErrorHandlerto be used by the parser. -
Uses of ErrorHandler in javax.xml.validation
Methods in javax.xml.validation that return ErrorHandlerModifier and TypeMethodDescriptionabstract ErrorHandlerSchemaFactory.getErrorHandler()Gets the currentErrorHandlerset to thisSchemaFactory.abstract ErrorHandlerValidator.getErrorHandler()Gets the currentErrorHandlerset to thisValidator.abstract ErrorHandlerValidatorHandler.getErrorHandler()Gets the currentErrorHandlerset to thisValidatorHandler.Methods in javax.xml.validation with parameters of type ErrorHandlerModifier and TypeMethodDescriptionabstract voidSchemaFactory.setErrorHandler(ErrorHandler errorHandler) Sets theErrorHandlerto receive errors encountered during thenewSchemamethod invocation.abstract voidValidator.setErrorHandler(ErrorHandler errorHandler) Sets theErrorHandlerto receive errors encountered during thevalidatemethod invocation.abstract voidValidatorHandler.setErrorHandler(ErrorHandler errorHandler) Sets theErrorHandlerto receive errors encountered during the validation. -
Uses of ErrorHandler in org.xml.sax
Classes in org.xml.sax that implement ErrorHandlerMethods in org.xml.sax that return ErrorHandlerMethods in org.xml.sax with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoidParser.setErrorHandler(ErrorHandler handler) Deprecated.Allow an application to register an error event handler.voidXMLReader.setErrorHandler(ErrorHandler handler) Allow an application to register an error event handler. -
Uses of ErrorHandler in org.xml.sax.ext
Classes in org.xml.sax.ext that implement ErrorHandlerModifier and TypeClassDescriptionclassThis class extends the SAX2 base handler class to support the SAX2LexicalHandler,DeclHandler, andEntityResolver2extensions. -
Uses of ErrorHandler in org.xml.sax.helpers
Classes in org.xml.sax.helpers that implement ErrorHandlerModifier and TypeClassDescriptionclassDefault base class for SAX2 event handlers.classBase class for deriving an XML filter.Methods in org.xml.sax.helpers that return ErrorHandlerModifier and TypeMethodDescriptionParserAdapter.getErrorHandler()Return the current error handler.XMLFilterImpl.getErrorHandler()Get the current error event handler.Methods in org.xml.sax.helpers with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoidParserAdapter.setErrorHandler(ErrorHandler handler) Set the error handler.voidXMLFilterImpl.setErrorHandler(ErrorHandler handler) Set the error event handler.voidXMLReaderAdapter.setErrorHandler(ErrorHandler handler) Register the error event handler.
DocumentHandlerinterface.