Class 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.0
    This 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 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
    • Method Detail

      • version

        public static java.lang.String version()
        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 interface javax.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 interface org.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 interface org.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 interface org.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 interface org.xml.sax.EntityResolver
        Throws:
        org.xml.sax.SAXException
        java.io.IOException