net.sf.saxon.trans
public class StandardUnparsedTextResolver extends java.lang.Object implements UnparsedTextURIResolver
Constructor and Description |
---|
StandardUnparsedTextResolver() |
Modifier and Type | Method and Description |
---|---|
java.io.Reader |
resolve(java.net.URI absoluteURI,
java.lang.String encoding,
Configuration config)
Resolve the URI passed to the XSLT unparsed-text() function, after resolving
against the base URI.
|
void |
setDebugging(boolean debug)
Set debugging on or off.
|
public void setDebugging(boolean debug)
debug
- set to true to enable debuggingpublic java.io.Reader resolve(java.net.URI absoluteURI, java.lang.String encoding, Configuration config) throws XPathException
resolve
in interface UnparsedTextURIResolver
absoluteURI
- the absolute URI obtained by resolving the supplied
URI against the base URIencoding
- the encoding requested in the call of unparsed-text(), if any. Otherwise null.config
- The configuration. Provided in case the URI resolver
needs it.XPathException
- if any failure occurs