Package net.sf.saxon.lib
Class OutputURIResolverWrapper
java.lang.Object
net.sf.saxon.lib.OutputURIResolverWrapper
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve(XPathContext context, String href, String baseUri, SerializationProperties properties) Saxon calls this method when anxsl:result-documentinstruction with anhrefattribute is evaluated
-
Constructor Details
-
OutputURIResolverWrapper
-
-
Method Details
-
resolve
public Receiver resolve(XPathContext context, String href, String baseUri, SerializationProperties properties) throws XPathException Saxon calls this method when anxsl:result-documentinstruction with anhrefattribute is evaluated- Specified by:
resolvein interfaceResultDocumentResolver- Parameters:
context- the dynamic evaluation contexthref- the effective value of the href attributebaseUri- the base output URI of the transformation (typically, the destination of the principal outputproperties- the serialization properties to be applied- Returns:
- a new instance of the
ResultDocumentInstanceclass; which Saxon will then call for further information. - Throws:
XPathException- if a result document cannot be opened
-
getOutputURIResolver
-