Home » Xerces-J-src.2.9.1 » org.apache.xerces » xni » parser » [javadoc | source]
org.apache.xerces.xni.parser
public interface: XMLEntityResolver [javadoc | source]

All Known Implementing Classes:
    XMLCatalogResolver, XMLEntityManager, EntityResolverWrapper, ExternalSubsetResolver, EntityResolver2Wrapper, DOMEntityResolverWrapper

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.
Method from org.apache.xerces.xni.parser.XMLEntityResolver Summary:
resolveEntity
Method from org.apache.xerces.xni.parser.XMLEntityResolver Detail:
 public XMLInputSource resolveEntity(XMLResourceIdentifier resourceIdentifier) throws IOException, XNIException
    Resolves an external parsed entity. If the entity cannot be resolved, this method should return null.