public class EntityResolverWrapper
extends java.lang.Object
implements org.apache.xerces.xni.parser.XMLEntityResolver
EntityResolver
Modifier and Type | Field and Description |
---|---|
protected org.xml.sax.EntityResolver |
fEntityResolver
The SAX entity resolver.
|
Constructor and Description |
---|
EntityResolverWrapper()
Default constructor.
|
EntityResolverWrapper(org.xml.sax.EntityResolver entityResolver)
Wraps the specified SAX entity resolver.
|
Modifier and Type | Method and Description |
---|---|
org.xml.sax.EntityResolver |
getEntityResolver()
Returns the SAX entity resolver.
|
org.apache.xerces.xni.parser.XMLInputSource |
resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier resourceIdentifier)
Resolves an external parsed entity.
|
void |
setEntityResolver(org.xml.sax.EntityResolver entityResolver)
Sets the SAX entity resolver.
|
protected org.xml.sax.EntityResolver fEntityResolver
public EntityResolverWrapper()
public EntityResolverWrapper(org.xml.sax.EntityResolver entityResolver)
public void setEntityResolver(org.xml.sax.EntityResolver entityResolver)
public org.xml.sax.EntityResolver getEntityResolver()
public org.apache.xerces.xni.parser.XMLInputSource resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier resourceIdentifier) throws org.apache.xerces.xni.XNIException, java.io.IOException
resolveEntity
in interface org.apache.xerces.xni.parser.XMLEntityResolver
resourceIdentifier
- contains the physical co-ordinates of the resource to be resolvedorg.apache.xerces.xni.XNIException
- Thrown on general error.java.io.IOException
- Thrown if resolved entity stream cannot be
opened or some other i/o error occurs.XMLResourceIdentifier
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.