BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.apache.xerces.util
Class EntityResolverWrapper

java.lang.Object
  extended byweblogic.apache.xerces.util.EntityResolverWrapper
All Implemented Interfaces:
XMLEntityResolver

Deprecated. please use JDK supplied XML parsers and transformers

public class EntityResolverWrapper
extends Object
implements XMLEntityResolver

This class wraps a SAX entity resolver in an XNI entity resolver.

See Also:
EntityResolver

Field Summary
protected  EntityResolver fEntityResolver
          Deprecated. The SAX entity resolver.
 
Constructor Summary
EntityResolverWrapper()
          Deprecated. Default constructor.
EntityResolverWrapper(EntityResolver entityResolver)
          Deprecated. Wraps the specified SAX entity resolver.
 
Method Summary
 EntityResolver getEntityResolver()
          Deprecated. Returns the SAX entity resolver.
 XMLInputSource resolveEntity(XMLResourceIdentifier resourceIdentifier)
          Deprecated. Resolves an external parsed entity.
 void setEntityResolver(EntityResolver entityResolver)
          Deprecated. Sets the SAX entity resolver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fEntityResolver

protected EntityResolver fEntityResolver
Deprecated. 
The SAX entity resolver.

Constructor Detail

EntityResolverWrapper

public EntityResolverWrapper()
Deprecated. 
Default constructor.


EntityResolverWrapper

public EntityResolverWrapper(EntityResolver entityResolver)
Deprecated. 
Wraps the specified SAX entity resolver.

Method Detail

getEntityResolver

public EntityResolver getEntityResolver()
Deprecated. 
Returns the SAX entity resolver.


resolveEntity

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

Specified by:
resolveEntity in interface XMLEntityResolver
Parameters:
resourceIdentifier - contains the physical co-ordinates of the resource to be resolved
Throws:
XNIException - Thrown on general error.
IOException - Thrown if resolved entity stream cannot be opened or some other i/o error occurs.
See Also:
XMLResourceIdentifier

setEntityResolver

public void setEntityResolver(EntityResolver entityResolver)
Deprecated. 
Sets the SAX entity resolver.


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.