public abstract class ModuleSet
extends java.lang.Object
PACKAGE the
compiler also generates a class PACKAGE.$ModulesMap$
that extends ModuleSet.
This is used to register the modules in a given package
with the active ModuleManager. This is needed for XQuery where
there may be multiple modules with the same namespace URI. To import
all the modules in a given namespace, the compiler maps the
namespace to a package name, makes sure the package's ModuleSet
is loaded, and then selects those modules whose namespace URI matches.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MODULES_MAP |
| Constructor and Description |
|---|
ModuleSet () |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
register (ModuleManager manager)
The compiler generates implementations of this method.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.lang.String MODULES_MAP
public ModuleSet()
public abstract void register(ModuleManager manager)
ModuleManager.register(java.lang.String, java.lang.String, java.lang.String)
once for each each module in the current package.