Class OutputURIResolverWrapper

java.lang.Object
net.sf.saxon.lib.OutputURIResolverWrapper
All Implemented Interfaces:
ResultDocumentResolver

public class OutputURIResolverWrapper extends Object implements ResultDocumentResolver
This class is an implementation of the ResultDocumentResolver interface that wraps a supplied OutputURIResolver. It is provided to give backwards compatibility for applications that use the old OutputURIResolver interface.
  • Constructor Details

    • OutputURIResolverWrapper

      public OutputURIResolverWrapper(OutputURIResolver resolver)
  • Method Details

    • resolve

      public Receiver resolve(XPathContext context, String href, String baseUri, SerializationProperties properties) throws XPathException
      Saxon calls this method when an xsl:result-document instruction with an href attribute is evaluated
      Specified by:
      resolve in interface ResultDocumentResolver
      Parameters:
      context - the dynamic evaluation context
      href - the effective value of the href attribute
      baseUri - the base output URI of the transformation (typically, the destination of the principal output
      properties - the serialization properties to be applied
      Returns:
      a new instance of the ResultDocumentInstance class; which Saxon will then call for further information.
      Throws:
      XPathException - if a result document cannot be opened
    • getOutputURIResolver

      public OutputURIResolver getOutputURIResolver()