| Package | Description |
|---|---|
| javax.xml.parsers |
Provides classes allowing the processing of XML documents.
|
| javax.xml.validation |
This package provides an API for validation of XML documents.
|
| org.xml.sax |
This package provides the core SAX APIs.
|
| org.xml.sax.ext |
This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support.
|
| org.xml.sax.helpers |
This package contains "helper" classes, including support for bootstrapping SAX-based applications.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
DocumentBuilder.setErrorHandler(ErrorHandler
Specify the
ErrorHandler to be used by the parser.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ErrorHandler |
SchemaFactory.getErrorHandler()
Gets the current
ErrorHandler set to this
SchemaFactory.
|
abstract ErrorHandler |
Validator.getErrorHandler()
Gets the current
ErrorHandler set to this
Validator.
|
abstract ErrorHandler |
ValidatorHandler.getErrorHandler()
Gets the current
ErrorHandler set to this
ValidatorHandler.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
SchemaFactory.setErrorHandler(ErrorHandler
Sets the
ErrorHandler to receive errors encountered during the
newSchema method invocation.
|
abstract void |
Validator.setErrorHandler(ErrorHandler
Sets the
ErrorHandler to receive errors encountered during the
validate method invocation.
|
abstract void |
ValidatorHandler.setErrorHandler(ErrorHandler
Sets the
ErrorHandler to receive errors encountered during the validation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HandlerBase
Deprecated.
This class works with the deprecated
DocumentHandler interface. It has been replaced by the SAX2 DefaultHandler class.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorHandler |
XMLReader.getErrorHandler()
Return the current error handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XMLReader.setErrorHandler(ErrorHandler
Allow an application to register an error event handler.
|
void |
Parser.setErrorHandler(ErrorHandler
Deprecated.
Allow an application to register an error event handler.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultHandler2
This class extends the SAX2 base handler class to support the SAX2
LexicalHandler,
DeclHandler, and
EntityResolver2 extensions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultHandler
Default base class for SAX2 event handlers.
|
class |
XMLFilterImpl
Base class for deriving an XML filter.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorHandler |
ParserAdapter.getErrorHandler()
Return the current error handler.
|
ErrorHandler |
XMLFilterImpl.getErrorHandler()
Get the current error event handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ParserAdapter.setErrorHandler(ErrorHandler
Set the error handler.
|
void |
XMLReaderAdapter.setErrorHandler(ErrorHandler
Register the error event handler.
|
void |
XMLFilterImpl.setErrorHandler(ErrorHandler
Set the error event handler.
|