|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectnet.sf.saxon.query.StandardModuleURIResolver
public class StandardModuleURIResolver
This class is the standard ModuleURIResolver used to implement the "import module" declaration in a Query Prolog. It is used when no user-defined ModuleURIResolver has been specified, or when the user-defined ModuleURIResolver decides to delegate to the standard ModuleURIResolver.
| Method Summary | |
|---|---|
static StandardModuleURIResolver |
getInstance()
Get the singular instance of this class |
StreamSource[] |
resolve(String moduleURI,
String baseURI,
String[] locations)
Resolve a module URI and associated location hints. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static StandardModuleURIResolver getInstance()
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 module
XPathException - (error XQST0059) if the module cannot be located
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||