public interface ModuleURIResolver
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
javax.xml.transform.stream.StreamSource[] |
resolve(java.lang.String moduleURI,
java.lang.String baseURI,
java.lang.String[] locations)
Resolve a identifying a query module, given the identifying URI and
a set of associated location hints.
|
javax.xml.transform.stream.StreamSource[] resolve(java.lang.String moduleURI, java.lang.String baseURI, java.lang.String[] locations) throws XPathException
moduleURI
- the module URI of the module to be imported; or null when
loading a non-library module.baseURI
- The base URI of the module containing the "import module" declaration;
null if no base URI is knownlocations
- The set of URIs specified in the "at" clause of "import module",
which serve as location hints for the moduleXPathException
- if the module cannot be located, and if delegation to the default
module resolver is not required.