FileDocCategorySizeDatePackage
XMLEntityResolver.javaAPI DocJava SE 5 API4212Fri Aug 26 14:55:58 BST 2005com.sun.org.apache.xerces.internal.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,v 1.4 2002/01/29 01:15:19 lehors Exp $

Fields Summary
Constructors Summary
Methods Summary
public com.sun.org.apache.xerces.internal.xni.parser.XMLInputSourceresolveEntity(com.sun.org.apache.xerces.internal.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
com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier