FileDocCategorySizeDatePackage
XMLEntityResolver.javaAPI DocApache Xerces 3.0.12304Fri Sep 14 20:33:52 BST 2007org.apache.xerces.xni.parser

XMLEntityResolver

public interface XMLEntityResolver
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.
see
XMLParserConfiguration
author
Andy Clark, IBM
version
$Id: XMLEntityResolver.java 447244 2006-09-18 05:20:40Z mrglavas $

Fields Summary
Constructors Summary
Methods Summary
public XMLInputSourceresolveEntity(org.apache.xerces.xni.XMLResourceIdentifier resourceIdentifier)
Resolves an external parsed entity. If the entity cannot be resolved, this method should return null.

param
resourceIdentifier location of the XML resource to resolve
throws
XNIException Thrown on general error.
throws
IOException Thrown if resolved entity stream cannot be opened or some other i/o error occurs.
see
org.apache.xerces.xni.XMLResourceIdentifier