Package net.sf.saxon.lib
Class EntityResolverWrappingResourceResolver
- java.lang.Object
-
- net.sf.saxon.lib.EntityResolverWrappingResourceResolver
-
- All Implemented Interfaces:
org.xml.sax.EntityResolver
,org.xml.sax.ext.EntityResolver2
public class EntityResolverWrappingResourceResolver extends java.lang.Object implements org.xml.sax.ext.EntityResolver2
An implementation of the SAXEntityResolver2
interface implemented by calling a suppliedResourceResolver
-
-
Constructor Summary
Constructors Constructor Description EntityResolverWrappingResourceResolver(ResourceResolver resolver)
Create anEntityResolver2
by wrapping aResourceResolver
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xml.sax.InputSource
getExternalSubset(java.lang.String name, java.lang.String baseURI)
org.xml.sax.InputSource
resolveEntity(java.lang.String publicId, java.lang.String systemId)
org.xml.sax.InputSource
resolveEntity(java.lang.String name, java.lang.String publicId, java.lang.String baseURI, java.lang.String systemId)
-
-
-
Constructor Detail
-
EntityResolverWrappingResourceResolver
public EntityResolverWrappingResourceResolver(ResourceResolver resolver)
Create anEntityResolver2
by wrapping aResourceResolver
- Parameters:
resolver
- theResourceResolver
to be wrapped
-
-
Method Detail
-
getExternalSubset
public org.xml.sax.InputSource getExternalSubset(java.lang.String name, java.lang.String baseURI) throws org.xml.sax.SAXException
- Specified by:
getExternalSubset
in interfaceorg.xml.sax.ext.EntityResolver2
- Throws:
org.xml.sax.SAXException
-
resolveEntity
public org.xml.sax.InputSource resolveEntity(java.lang.String name, java.lang.String publicId, java.lang.String baseURI, java.lang.String systemId) throws org.xml.sax.SAXException, java.io.IOException
- Specified by:
resolveEntity
in interfaceorg.xml.sax.ext.EntityResolver2
- Throws:
org.xml.sax.SAXException
java.io.IOException
-
resolveEntity
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException, java.io.IOException
- Specified by:
resolveEntity
in interfaceorg.xml.sax.EntityResolver
- Throws:
org.xml.sax.SAXException
java.io.IOException
-
-