org.apache.xerces.xni.parser.XMLEntityResolver |
Known Indirect Subclasses
DOMEntityResolverWrapper |
This class wraps DOM entity resolver to XNI entity resolver. |
EntityResolver2Wrapper |
This class wraps a SAX entity resolver (EntityResolver2) in an XNI entity resolver. |
EntityResolverWrapper |
This class wraps a SAX entity resolver in an XNI entity resolver. |
ExternalSubsetResolver |
This interface extends XMLEntityResolver providing
a method to resolve external subsets for documents which do not
explicitly provide one. |
XMLCatalogResolver |
The catalog resolver handles the resolution of external
identifiers and URI references through XML catalogs. |
XMLEntityManager |
The entity manager handles the registration of general and parameter
entities; resolves entities; and starts entities. |
|
Class Overview
This interface is used to resolve external parsed entities. The
application can register an object that implements this interface
with the parser configuration in order to intercept entities and
resolve them explicitly. If the registered entity resolver cannot
resolve the entity, it should return null
so that the
parser will try to resolve the entity using a default mechanism.
Public Methods
Resolves an external parsed entity. If the entity cannot be
resolved, this method should return null.
Parameters
resourceIdentifier
| location of the XML resource to resolve |
Throws
XNIException
| Thrown on general error. |
IOException
| Thrown if resolved entity stream cannot be
opened or some other i/o error occurs. |