Package net.sf.saxon.lib
Class OutputURIResolverWrapper
- java.lang.Object
-
- net.sf.saxon.lib.OutputURIResolverWrapper
-
- All Implemented Interfaces:
ResultDocumentResolver
public class OutputURIResolverWrapper extends java.lang.Object implements ResultDocumentResolver
This class is an implementation of theResultDocumentResolver
interface that wraps a suppliedOutputURIResolver
. It is provided to give backwards compatibility for applications that use the oldOutputURIResolver
interface.
-
-
Constructor Summary
Constructors Constructor Description OutputURIResolverWrapper(OutputURIResolver resolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputURIResolver
getOutputURIResolver()
Receiver
resolve(XPathContext context, java.lang.String href, java.lang.String baseUri, SerializationProperties properties)
Saxon calls this method when anxsl:result-document
instruction with anhref
attribute is evaluated
-
-
-
Constructor Detail
-
OutputURIResolverWrapper
public OutputURIResolverWrapper(OutputURIResolver resolver)
-
-
Method Detail
-
resolve
public Receiver resolve(XPathContext context, java.lang.String href, java.lang.String baseUri, SerializationProperties properties) throws XPathException
Saxon calls this method when anxsl:result-document
instruction with anhref
attribute is evaluated- Specified by:
resolve
in 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
-- 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()
-
-