| Package | Description |
|---|---|
| javax.xml.parsers |
Provides classes allowing the processing 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.setEntityResolver(EntityResolver
Specify the
EntityResolver to be used to resolve entities 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 |
|---|---|
EntityResolver |
XMLReader.getEntityResolver()
Return the current entity resolver.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XMLReader.setEntityResolver(EntityResolver
Allow an application to register an entity resolver.
|
void |
Parser.setEntityResolver(EntityResolver
Deprecated.
Allow an application to register a custom entity resolver.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
EntityResolver2
Extended interface for mapping external entity references to input sources, or providing a missing external subset.
|
| 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 |
|---|---|
EntityResolver |
ParserAdapter.getEntityResolver()
Return the current entity resolver.
|
EntityResolver |
XMLFilterImpl.getEntityResolver()
Get the current entity resolver.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ParserAdapter.setEntityResolver(EntityResolver
Set the entity resolver.
|
void |
XMLReaderAdapter.setEntityResolver(EntityResolver
Register the entity resolver.
|
void |
XMLFilterImpl.setEntityResolver(EntityResolver
Set the entity resolver.
|