Package org.xmlresolver
Class Resolver
- java.lang.Object
-
- org.xmlresolver.Resolver
-
- All Implemented Interfaces:
javax.xml.transform.URIResolver
,org.w3c.dom.ls.LSResourceResolver
,org.xml.sax.EntityResolver
,org.xml.sax.ext.EntityResolver2
public class Resolver extends java.lang.Object implements javax.xml.transform.URIResolver, org.w3c.dom.ls.LSResourceResolver, org.xml.sax.EntityResolver, org.xml.sax.ext.EntityResolver2
Deprecated.6.0.0This class is a shim that provides a degree of compatibility with XML Resolver 5.0.Some applications create a resolver using reflection on
org.xmlresolver.Resolver
to call the zero-argument constructor. This class is an attempt to provide that API.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NATURE_RELAX_NG
Deprecated.static java.lang.String
NATURE_XML_SCHEMA
Deprecated.static java.lang.String
NATURE_XML_SCHEMA_1_1
Deprecated.static java.lang.String
PURPOSE_SCHEMA_VALIDATION
Deprecated.
-
Constructor Summary
Constructors Constructor Description Resolver()
Deprecated.Resolver(CatalogResolver resolver)
Deprecated.Resolver(XMLResolverConfiguration config)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CatalogResolver
getCatalogResolver()
Deprecated.XMLResolverConfiguration
getConfiguration()
Deprecated.org.xml.sax.InputSource
getExternalSubset(java.lang.String name, java.lang.String baseURI)
Deprecated.javax.xml.transform.Source
resolve(java.lang.String href, java.lang.String base)
Deprecated.org.xml.sax.InputSource
resolveEntity(java.lang.String publicId, java.lang.String systemId)
Deprecated.org.xml.sax.InputSource
resolveEntity(java.lang.String name, java.lang.String publicId, java.lang.String baseURI, java.lang.String systemId)
Deprecated.org.w3c.dom.ls.LSInput
resolveResource(java.lang.String type, java.lang.String namespaceURI, java.lang.String publicId, java.lang.String systemId, java.lang.String baseURI)
Deprecated.static java.lang.String
version()
Deprecated.
-
-
-
Field Detail
-
PURPOSE_SCHEMA_VALIDATION
public static final java.lang.String PURPOSE_SCHEMA_VALIDATION
Deprecated.- See Also:
- Constant Field Values
-
NATURE_XML_SCHEMA
public static final java.lang.String NATURE_XML_SCHEMA
Deprecated.- See Also:
- Constant Field Values
-
NATURE_XML_SCHEMA_1_1
public static final java.lang.String NATURE_XML_SCHEMA_1_1
Deprecated.- See Also:
- Constant Field Values
-
NATURE_RELAX_NG
public static final java.lang.String NATURE_RELAX_NG
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Resolver
public Resolver()
Deprecated.
-
Resolver
public Resolver(XMLResolverConfiguration config)
Deprecated.
-
Resolver
public Resolver(CatalogResolver resolver)
Deprecated.
-
-
Method Detail
-
version
public static java.lang.String version()
Deprecated.
-
getConfiguration
public XMLResolverConfiguration getConfiguration()
Deprecated.
-
getCatalogResolver
public CatalogResolver getCatalogResolver()
Deprecated.
-
resolve
public javax.xml.transform.Source resolve(java.lang.String href, java.lang.String base) throws javax.xml.transform.TransformerException
Deprecated.- Specified by:
resolve
in interfacejavax.xml.transform.URIResolver
- Throws:
javax.xml.transform.TransformerException
-
resolveResource
public org.w3c.dom.ls.LSInput resolveResource(java.lang.String type, java.lang.String namespaceURI, java.lang.String publicId, java.lang.String systemId, java.lang.String baseURI)
Deprecated.- Specified by:
resolveResource
in interfaceorg.w3c.dom.ls.LSResourceResolver
-
getExternalSubset
public org.xml.sax.InputSource getExternalSubset(java.lang.String name, java.lang.String baseURI) throws org.xml.sax.SAXException, java.io.IOException
Deprecated.- Specified by:
getExternalSubset
in interfaceorg.xml.sax.ext.EntityResolver2
- Throws:
org.xml.sax.SAXException
java.io.IOException
-
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
Deprecated.- 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
Deprecated.- Specified by:
resolveEntity
in interfaceorg.xml.sax.EntityResolver
- Throws:
org.xml.sax.SAXException
java.io.IOException
-
-