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 voidDocumentBuilder.setErrorHandler(ErrorHandler eh) Specify theErrorHandlerto be used by the parser.Uses ofErrorHandler injavax.xml.validation
Methods injavax.xml.validation that returnErrorHandlerModifier and TypeMethodDescriptionabstractErrorHandlerSchemaFactory.getErrorHandler()Gets the currentErrorHandlerset to thisSchemaFactory.abstractErrorHandlerValidator.getErrorHandler()Gets the currentErrorHandlerset to thisValidator.abstractErrorHandlerValidatorHandler.getErrorHandler()Gets the currentErrorHandlerset to thisValidatorHandler.Methods injavax.xml.validation with parameters of typeErrorHandlerModifier 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 ofErrorHandler inorg.xml.sax
Classes inorg.xml.sax that implementErrorHandlerModifier and TypeClassDescriptionclassDeprecated.This class works with the deprecatedDocumentHandlerinterface.Methods inorg.xml.sax that returnErrorHandlerMethods inorg.xml.sax with parameters of typeErrorHandlerModifier 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 ofErrorHandler inorg.xml.sax.ext
Classes inorg.xml.sax.ext that implementErrorHandlerModifier and TypeClassDescriptionclassThis class extends the SAX2 base handler class to support the SAX2LexicalHandler,DeclHandler, andEntityResolver2extensions.Uses ofErrorHandler inorg.xml.sax.helpers
Classes inorg.xml.sax.helpers that implementErrorHandlerModifier and TypeClassDescriptionclassDefault base class for SAX2 event handlers.classBase 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 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.