Package net.sf.saxon.lib
Class EntityResolverWrappingResourceResolver
java.lang.Object
net.sf.saxon.lib.EntityResolverWrappingResourceResolver
- All Implemented Interfaces:
EntityResolver,EntityResolver2
An implementation of the SAX
EntityResolver2 interface implemented by calling
a supplied ResourceResolver-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExternalSubset(String name, String baseURI) resolveEntity(String publicId, String systemId) resolveEntity(String name, String publicId, String baseURI, String systemId)
-
Constructor Details
-
EntityResolverWrappingResourceResolver
Create anEntityResolver2by wrapping aResourceResolver- Parameters:
resolver- theResourceResolverto be wrapped
-
-
Method Details
-
getExternalSubset
- Specified by:
getExternalSubsetin interfaceEntityResolver2- Throws:
SAXException
-
resolveEntity
public InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws SAXException, IOException - Specified by:
resolveEntityin interfaceEntityResolver2- Throws:
SAXExceptionIOException
-
resolveEntity
- Specified by:
resolveEntityin interfaceEntityResolver- Throws:
SAXExceptionIOException
-