| Package | Description |
|---|---|
| javax.xml.parsers |
Provides classes allowing the processing of XML documents.
|
| org.xml.sax |
SAX 2.0 r2 prerelease interfaces
|
| org.xml.sax.helpers |
SAX 2.0 r2 prerelease helper interfaces
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
DocumentBuilder.setErrorHandler(ErrorHandler eh)
Specify the
ErrorHandler to be used to report
errors present in the XML document to be parsed. |
| 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 handler)
Allow an application to register an error event handler.
|
void |
Parser.setErrorHandler(ErrorHandler handler)
Deprecated.
Allow an application to register an error event handler.
|
| 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 |
XMLFilterImpl.getErrorHandler()
Get the current error event handler.
|
ErrorHandler |
ParserAdapter.getErrorHandler()
Return the current error handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XMLReaderAdapter.setErrorHandler(ErrorHandler handler)
Register the error event handler.
|
void |
XMLFilterImpl.setErrorHandler(ErrorHandler handler)
Set the error event handler.
|
void |
ParserAdapter.setErrorHandler(ErrorHandler handler)
Set the error handler.
|