public class StandardModuleURIResolver extends java.lang.Object implements ModuleURIResolver
| Constructor and Description |
|---|
StandardModuleURIResolver() |
StandardModuleURIResolver(Configuration config) |
| 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 module URI and associated location hints.
|
public StandardModuleURIResolver()
public StandardModuleURIResolver(Configuration config)
public javax.xml.transform.stream.StreamSource[] resolve(java.lang.String moduleURI,
java.lang.String baseURI,
java.lang.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