Class ResourceResolverWrappingURIResolver

    • Constructor Detail

      • ResourceResolverWrappingURIResolver

        public ResourceResolverWrappingURIResolver​(javax.xml.transform.URIResolver uriResolver)
        Create a ResourceResolver by wrapping a supplied URIResolver
        Parameters:
        uriResolver - the URIResolver to which this ResourceResolver will delegate
    • Method Detail

      • resolve

        public javax.xml.transform.Source resolve​(ResourceRequest request)
                                           throws XPathException
        Process a resource request to deliver a resource
        Specified by:
        resolve in interface ResourceResolver
        Parameters:
        request - the resource request
        Returns:
        the returned Source; or null to delegate resolution to another resolver
        Throws:
        XPathException - if the request is invalid in some way, or if the identified resource is unsuitable, or if resolution is to fail rather than being delegated to another resolver.
      • convertToStreamSource

        public static javax.xml.transform.stream.StreamSource convertToStreamSource​(javax.xml.transform.sax.SAXSource resolved)
      • getWrappedURIResolver

        public javax.xml.transform.URIResolver getWrappedURIResolver()