public class DOMEntityResolverWrapper
extends java.lang.Object
implements org.apache.xerces.xni.parser.XMLEntityResolver
LSResourceResolver
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.ls.LSResourceResolver |
fEntityResolver
The DOM entity resolver.
|
Constructor and Description |
---|
DOMEntityResolverWrapper()
Default constructor.
|
DOMEntityResolverWrapper(org.w3c.dom.ls.LSResourceResolver entityResolver)
Wraps the specified DOM entity resolver.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.ls.LSResourceResolver |
getEntityResolver()
Returns the DOM entity resolver.
|
org.apache.xerces.xni.parser.XMLInputSource |
resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier resourceIdentifier)
Resolves an external parsed entity.
|
void |
setEntityResolver(org.w3c.dom.ls.LSResourceResolver entityResolver)
Sets the DOM entity resolver.
|
protected org.w3c.dom.ls.LSResourceResolver fEntityResolver
public DOMEntityResolverWrapper()
public DOMEntityResolverWrapper(org.w3c.dom.ls.LSResourceResolver entityResolver)
public void setEntityResolver(org.w3c.dom.ls.LSResourceResolver entityResolver)
public org.w3c.dom.ls.LSResourceResolver 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
- description 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.