javax.xml.transform

Interface URIResolver

public interface URIResolver

Callback that can resolve a URI into source XML for transformation. Equivalent to the SAX EntityResolver.
Method Summary
Sourceresolve(String href, String base)
Resolves an xsl:include, xsl:import, or XPath document() function.

Method Detail

resolve

public Source resolve(String href, String base)
Resolves an xsl:include, xsl:import, or XPath document() function.

Parameters: href the URI to resolve (relative or absolute) base the base URI relative to which the URI is to be resolved

Returns: a source, or null if the resource could not be found