|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.util.EntityResolverWrapper
public class EntityResolverWrapper
This class wraps a SAX entity resolver in an XNI entity resolver.
EntityResolver
Constructor Summary | |
---|---|
EntityResolverWrapper()
Default constructor. |
|
EntityResolverWrapper(EntityResolver entityResolver)
Wraps the specified SAX entity resolver. |
Method Summary | |
---|---|
EntityResolver |
getEntityResolver()
Returns the SAX entity resolver. |
XMLInputSource |
resolveEntity(XMLResourceIdentifier resourceIdentifier)
Resolves an external parsed entity. |
void |
setEntityResolver(EntityResolver entityResolver)
Sets the SAX entity resolver. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityResolverWrapper()
public EntityResolverWrapper(EntityResolver entityResolver)
Method Detail |
---|
public void setEntityResolver(EntityResolver entityResolver)
public EntityResolver getEntityResolver()
public XMLInputSource resolveEntity(XMLResourceIdentifier resourceIdentifier) throws XNIException, java.io.IOException
resolveEntity
in interface XMLEntityResolver
resourceIdentifier
- contains the physical co-ordinates of the resource to be resolved
XNIException
- Thrown on general error.
java.io.IOException
- Thrown if resolved entity stream cannot be
opened or some other i/o error occurs.XMLResourceIdentifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |