public interface URIResolver
An object that implements this interface that can be called by the processor to turn a URI used in document(), xsl:import, or xsl:include into a Source object.
Modifier and Type | Method and Description |
---|---|
Source |
resolve(String href,
String base)
Called by the processor when it encounters
an xsl:include, xsl:import, or document() function.
|
Source resolve(String href, String base) throws TransformerException
TransformerException
- if an error occurs when trying to
resolve the URI.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.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.