public interface ModuleURIResolver extends Serializable
| Modifier and Type | Method and Description |
|---|---|
StreamSource[] |
resolve(String moduleURI,
String baseURI,
String[] locations)
Resolve a identifying a query module, given the identifying URI and
a set of associated location hints.
|
StreamSource[] resolve(String moduleURI, String baseURI, 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.