public class URIResourceResolver extends Object implements URIResolver
Constructor and Description |
---|
URIResourceResolver(LSResourceResolver resolver) |
Modifier and Type | Method and Description |
---|---|
LSResourceResolver |
getLSResourceResolver() |
Source |
resolve(String href,
String base)
Called by an XSLT processor when it encounters
an xsl:include, xsl:import, or document() function.
|
public URIResourceResolver(LSResourceResolver resolver)
public LSResourceResolver getLSResourceResolver()
public Source resolve(String href, String base) throws TransformerException
resolve
in interface URIResolver
href
- An href attribute, which may be relative or absolute.base
- The base URI against which the first argument will be made
absolute if the absolute URI is required.TransformerException
- if an error occurs when trying to
resolve the URI.Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.