public class StandardModuleURIResolver extends Object implements ModuleURIResolver
| Constructor and Description |
|---|
StandardModuleURIResolver() |
StandardModuleURIResolver(Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
StreamSource[] |
resolve(String moduleURI,
String baseURI,
String[] locations)
Resolve a module URI and associated location hints.
|
public StandardModuleURIResolver()
public StandardModuleURIResolver(Configuration config)
public StreamSource[] resolve(String moduleURI, String baseURI, String[] locations) throws XPathException
resolve in interface ModuleURIResolvermoduleURI - The module namespace 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