Uses of Interface
org.xml.sax.ErrorHandler
| Package | Description |
|---|---|
| javax.xml.parsers |
Provides the classes for processing XML documents with a SAX (Simple API for XML)
parser or a DOM (Document Object Model) Document builder.
|
| javax.xml.validation |
Provides an API for validation of XML documents.
|
| org.xml.sax |
Provides the interfaces for the Simple API for XML (SAX).
|
| org.xml.sax.ext |
Provides interfaces to SAX2 facilities that
conformant SAX drivers won't necessarily support.
|
| org.xml.sax.helpers |
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 ErrorHandler Modifier and Type Method Description abstract 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 ErrorHandler Modifier and Type Method Description abstract 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 ErrorHandler Modifier and Type Method Description abstract 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 ErrorHandler Modifier and Type Class Description classHandlerBaseDeprecated.This class works with the deprecatedDocumentHandlerinterface.Methods in org.xml.sax that return ErrorHandler Modifier and Type Method Description ErrorHandlerXMLReader. getErrorHandler()Return the current error handler.Methods in org.xml.sax with parameters of type ErrorHandler Modifier and Type Method Description voidParser. 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 ErrorHandler Modifier and Type Class Description classDefaultHandler2This 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 ErrorHandler Modifier and Type Class Description classDefaultHandlerDefault base class for SAX2 event handlers.classXMLFilterImplBase class for deriving an XML filter.Methods in org.xml.sax.helpers that return ErrorHandler Modifier and Type Method Description ErrorHandlerParserAdapter. getErrorHandler()Return the current error handler.ErrorHandlerXMLFilterImpl. getErrorHandler()Get the current error event handler.Methods in org.xml.sax.helpers with parameters of type ErrorHandler Modifier and Type Method Description voidParserAdapter. 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.