BEA Systems, Inc.

Interface XMLEntityResolver

All Known Implementing Classes:
DOMEntityResolverWrapper, EntityResolverWrapper, XML11EntityManager, XMLEntityManager

Deprecated. please use JDK supplied XML parsers and transformers

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 Also:

Method Summary
 XMLInputSource resolveEntity(XMLResourceIdentifier resourceIdentifier)
          Deprecated. Resolves an external parsed entity.

Method Detail


XMLInputSource resolveEntity(XMLResourceIdentifier resourceIdentifier)
                             throws XNIException,
Resolves an external parsed entity. If the entity cannot be resolved, this method should return null.

resourceIdentifier: - location of the XML resource to resolve
XNIException - Thrown on general error.
IOException - Thrown if resolved entity stream cannot be opened or some other i/o error occurs.
See Also:

Documentation is available at
Copyright 2006 BEA Systems Inc.