javax.xml.transform
Interface URIResolver
public interface URIResolver
Callback that can resolve a URI into source XML for transformation.
Equivalent to the SAX EntityResolver.
Source | resolve(String href, String base)- Resolves an
xsl:include, xsl:import, or
XPath document() function.
|
resolve
public Source resolve(String href,
String base)
throws TransformerException Resolves an xsl:include, xsl:import, or
XPath document() function.
href - the URI to resolve (relative or absolute)base - the base URI relative to which the URI is to be resolved
- a source, or null if the resource could not be found