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.
Source resolve(java.lang.String href, java.lang.String base) throws TransformerException
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 © 1999-2022 The Apache Software Foundation. All Rights Reserved.