Package gnu.expr
Class ModuleSet
- java.lang.Object
-
- gnu.expr.ModuleSet
-
public abstract class ModuleSet extends Object
The compiler generates extensions of this class. For each compiler-generatedPACKAGE
the compiler also generates a classPACKAGE.$ModulesMap$
that extendsModuleSet
. This is used to register the modules in a given package with the activeModuleManager
. 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'sModuleSet
is loaded, and then selects those modules whose namespace URI matches.
-
-
Field Summary
Fields Modifier and Type Field Description static String
MODULES_MAP
-
Constructor Summary
Constructors Constructor Description ModuleSet()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
register(ModuleManager manager)
The compiler generates implementations of this method.
-
-
-
Field Detail
-
MODULES_MAP
public static final String MODULES_MAP
- See Also:
- Constant Field Values
-
-
Method Detail
-
register
public abstract void register(ModuleManager manager)
The compiler generates implementations of this method. Normally, the implementation callsModuleManager.register(java.lang.String, java.lang.String, java.lang.String)
once for each each module in the current package.
-
-