public class OutputURIResolverWrapper extends java.lang.Object implements ResultDocumentResolver
ResultDocumentResolver
interface
that wraps a supplied OutputURIResolver
. It is provided to give backwards
compatibility for applications that use the old OutputURIResolver
interface.Constructor and Description |
---|
OutputURIResolverWrapper(OutputURIResolver resolver) |
Modifier and Type | Method and Description |
---|---|
OutputURIResolver |
getOutputURIResolver() |
Receiver |
resolve(XPathContext context,
java.lang.String href,
java.lang.String baseUri,
SerializationProperties properties)
Saxon calls this method when an
xsl:result-document instruction
with an href attribute is evaluated |
public OutputURIResolverWrapper(OutputURIResolver resolver)
public Receiver resolve(XPathContext context, java.lang.String href, java.lang.String baseUri, SerializationProperties properties) throws XPathException
xsl:result-document
instruction
with an href
attribute is evaluatedresolve
in interface ResultDocumentResolver
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
- ResultDocumentInstance
class;
which Saxon will then call for further information.XPathException
- if a result document cannot be openedpublic OutputURIResolver getOutputURIResolver()
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.