|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.util.DOMEntityResolverWrapper
public class DOMEntityResolverWrapper
This class wraps DOM entity resolver to XNI entity resolver.
LSResourceResolver
Constructor Summary | |
---|---|
DOMEntityResolverWrapper()
Default constructor. |
|
DOMEntityResolverWrapper(LSResourceResolver entityResolver)
Wraps the specified DOM entity resolver. |
Method Summary | |
---|---|
LSResourceResolver |
getEntityResolver()
Returns the DOM entity resolver. |
XMLInputSource |
resolveEntity(XMLResourceIdentifier resourceIdentifier)
Resolves an external parsed entity. |
void |
setEntityResolver(LSResourceResolver entityResolver)
Sets the DOM entity resolver. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DOMEntityResolverWrapper()
public DOMEntityResolverWrapper(LSResourceResolver entityResolver)
Method Detail |
---|
public void setEntityResolver(LSResourceResolver entityResolver)
public LSResourceResolver getEntityResolver()
public XMLInputSource resolveEntity(XMLResourceIdentifier resourceIdentifier) throws XNIException, java.io.IOException
resolveEntity
in interface XMLEntityResolver
resourceIdentifier
- description of the resource to be revsoved
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 |