Package com.icl.saxon
Class StandardURIResolver
java.lang.Object
com.icl.saxon.StandardURIResolver
- All Implemented Interfaces:
URIResolver
This class provides the service of converting a URI into an InputSource.
It is used to get stylesheet modules referenced by xsl:import and xsl:include,
and source documents referenced by the document() function. The standard version
handles anything that the java URL class will handle.
You can write a subclass to handle other kinds of URI, e.g. references to things in
a database.
- Author:
- Michael H. Kay
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
Method Summary
-
Constructor Details
-
StandardURIResolver
protected StandardURIResolver() -
StandardURIResolver
-
-
Method Details
-
resolve
Resolve a URI- Specified by:
resolve
in interfaceURIResolver
- Parameters:
baseURI
- The base URI that should be used. May be null if uri is absolute.- Returns:
- a Source object representing an XML document
- Throws:
TransformerException
-