FileDocCategorySizeDatePackage
XMLEntityResolver.javaAPI DocJava SE 6 API2144Tue Jun 10 00:22:54 BST 2008com.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.2.6.1 2005/09/06 08:30:53 neerajbj 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