java.lang.Object | |
↳ | org.apache.xerces.util.EntityResolver2Wrapper |
This class wraps a SAX entity resolver (EntityResolver2) in an XNI entity resolver.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fEntityResolver | An instance of SAX2 Extensions 1.1's EntityResolver2. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
| |||||||||||
Creates a new instance wrapping the given SAX entity resolver. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the SAX entity resolver wrapped by this object. | |||||||||||
Locates an external subset for documents which do not explicitly provide one. | |||||||||||
Resolves an external parsed entity.
| |||||||||||
Sets the SAX entity resolver wrapped by this object. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.xerces.impl.ExternalSubsetResolver
| |||||||||||
From interface
org.apache.xerces.xni.parser.XMLEntityResolver
|
An instance of SAX2 Extensions 1.1's EntityResolver2.
Default constructor.
Creates a new instance wrapping the given SAX entity resolver.
entityResolver | the SAX entity resolver to wrap |
---|
Returns the SAX entity resolver wrapped by this object.
Locates an external subset for documents which do not explicitly
provide one. If no external subset is provided, this method should
return null
.
grammarDescription | a description of the DTD |
---|
XNIException | Thrown on general error. |
---|---|
IOException | Thrown if resolved entity stream cannot be opened or some other i/o error occurs. |
Resolves an external parsed entity. If the entity cannot be resolved, this method should return null.
resourceIdentifier | contains the physical co-ordinates of the resource to be resolved |
---|
XNIException | Thrown on general error. |
---|---|
IOException | Thrown if resolved entity stream cannot be opened or some other i/o error occurs. |
Sets the SAX entity resolver wrapped by this object.
entityResolver | the SAX entity resolver to wrap |
---|