|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.expr.ModuleSet
public abstract class ModuleSet
The compiler generates extensions of this class.
For each compiler-generated 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.
Field Summary | |
---|---|
static java.lang.String |
MODULES_MAP
|
Constructor Summary | |
---|---|
ModuleSet()
|
Method Summary | |
---|---|
abstract void |
register(ModuleManager manager)
The compiler generates implementations of this method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MODULES_MAP
Constructor Detail |
---|
public ModuleSet()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |