public class Module extends SourceItem
Modifier and Type | Field and Description |
---|---|
protected NamespaceName |
defaultElNs
Generated by umod; model author's documentation MISSING.
|
protected CheckedMap_RD<String,Definition> |
definitions
Generated by umod; model author's documentation MISSING.
|
static Function<Module,NamespaceName> |
get_defaultElNs
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,CheckedMap_RD<String,Definition>> |
get_definitions
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,CheckedMap_RD<String,ImportItem>> |
get_imports
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,Boolean> |
get_isLocal
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,CheckedMap_RD<String,Module>> |
get_modules
Deprecated.
Use new '::' method reference instead.
|
static Function<Module,CheckedList<NamespaceDecl>> |
get_namespaces
Deprecated.
Use new '::' method reference instead.
|
protected CheckedMap_RD<String,ImportItem> |
imports
Generated by umod; model author's documentation MISSING.
|
protected boolean |
isLocal
Generated by umod; model author's documentation MISSING.
|
protected CheckedMap_RD<String,Module> |
modules
Generated by umod; model author's documentation MISSING.
|
protected CheckedList<NamespaceDecl> |
namespaces
Generated by umod; model author's documentation MISSING.
|
context, docu, get_context, get_docu, get_location, get_name, location, name
format
Constructor and Description |
---|
Module(SourceItem context,
String name,
Location<XMLDocumentIdentifier> location)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Module(String name,
Location<XMLDocumentIdentifier> location)
Synthetic minimal constructor provided by the umod compiler.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey_definitions(String key0)
Convenience un-Currying method.
|
boolean |
containsKey_imports(String key0)
Convenience un-Currying method.
|
boolean |
containsKey_modules(String key0)
Convenience un-Currying method.
|
void |
descend_0_definitions(MATCH_ONLY_00 visitor) |
void |
descend_0_imports(MATCH_ONLY_00 visitor) |
void |
descend_0_modules(MATCH_ONLY_00 visitor) |
void |
descend_2_definitions(MATCH_ONLY_00 visitor) |
void |
descend_2_imports(MATCH_ONLY_00 visitor) |
void |
descend_definitions(MATCH_ONLY_00 visitor) |
void |
descend_imports(MATCH_ONLY_00 visitor) |
void |
descend_modules(MATCH_ONLY_00 visitor) |
void |
descend_namespaces(MATCH_ONLY_00 visitor) |
Module |
doclone()
Clones this object.
|
SourceItem |
find(String s) |
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
NamespaceName |
get_defaultElNs()
Generated by umod; model author's documentation MISSING.
|
CheckedMap_RD<String,Definition> |
get_definitions()
Generated by umod; model author's documentation MISSING.
|
CheckedMap_RD<String,ImportItem> |
get_imports()
Generated by umod; model author's documentation MISSING.
|
boolean |
get_isLocal()
Generated by umod; model author's documentation MISSING.
|
CheckedMap_RD<String,Module> |
get_modules()
Generated by umod; model author's documentation MISSING.
|
CheckedList<NamespaceDecl> |
get_namespaces()
Generated by umod; model author's documentation MISSING.
|
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
Module |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
void |
put_definitions(String key0,
Definition value)
Convenience un-Currying method.
|
void |
put_imports(String key0,
ImportItem value)
Convenience un-Currying method.
|
void |
put_modules(String key0,
Module value)
Convenience un-Currying method.
|
boolean |
set_defaultElNs(NamespaceName val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_definitions(CheckedMap_RD<String,Definition> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_imports(CheckedMap_RD<String,ImportItem> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_isLocal(boolean val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_modules(CheckedMap_RD<String,Module> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_namespaces(CheckedList<NamespaceDecl> val)
Generated by umod; model author's documentation MISSING.
|
add_docu, containsKey_docu, descend_docu, fullPath, get_context, get_docu, get_location, get_name, put_docu, set_context, set_docu, set_location, set_name
protected CheckedMap_RD<String,Module> modules
CheckedMap_RD
<java.lang.String(never
null),Module
(never null)>(never
null)@Deprecated public static final Function<Module,CheckedMap_RD<String,Module>> get_modules
protected CheckedMap_RD<String,ImportItem> imports
CheckedMap_RD
<java.lang.String(never
null),ImportItem
(never null)>(never
null)@Deprecated public static final Function<Module,CheckedMap_RD<String,ImportItem>> get_imports
protected CheckedMap_RD<String,Definition> definitions
CheckedMap_RD
<java.lang.String(never
null),Definition
(never null)>(never
null)@Deprecated public static final Function<Module,CheckedMap_RD<String,Definition>> get_definitions
protected NamespaceName defaultElNs
NamespaceName
(maybe
null)@Deprecated public static final Function<Module,NamespaceName> get_defaultElNs
protected CheckedList<NamespaceDecl> namespaces
CheckedList
<NamespaceDecl
(never
null)>(never null)@Deprecated public static final Function<Module,CheckedList<NamespaceDecl>> get_namespaces
protected boolean isLocal
get_isLocal()
,
set_isLocal(boolean)
@Deprecated public static final Function<Module,Boolean> get_isLocal
public Module(SourceItem context, String name, Location<XMLDocumentIdentifier> location)
context
- is copied to field SourceItem.context
name
- is copied to field SourceItem.name
location
- is copied to field SourceItem.location
public Module(String name, Location<XMLDocumentIdentifier> location)
name
- is copied to field SourceItem.name
location
- is copied to field SourceItem.location
public Module doclone()
Cloneable
is known to
be implemented.doclone
in class SourceItem
public static String getFormatHint()
(($is ResolvedModule
$this)'resolved' ?)'module 'name/ /4>namespaces[/]/ /4>(modules{$to}[/])/ /
/imports{$to}[/]/ /definitions{$to}[/(' '/' ')/]/ /'end module //'name/ /
public Format format()
format
in interface Formattable
format
in class SourceItem
public SourceItem find(String s)
public Module initFrom(Object o0)
initFrom
in class SourceItem
public CheckedMap_RD<String,Module> get_modules()
CheckedMap_RD
<java.lang.String(never
null),Module
(never null)>(never
null)public boolean set_modules(CheckedMap_RD<String,Module> val)
val
- the new value of type CheckedMap_RD
<java.lang.String(never
null),Module
(never null)>(never
null)modules
public void put_modules(String key0, Module value)
public boolean containsKey_modules(String key0)
modules
public void descend_modules(MATCH_ONLY_00 visitor)
public void descend_0_modules(MATCH_ONLY_00 visitor)
public CheckedMap_RD<String,ImportItem> get_imports()
CheckedMap_RD
<java.lang.String(never
null),ImportItem
(never null)>(never
null)public boolean set_imports(CheckedMap_RD<String,ImportItem> val)
val
- the new value of type CheckedMap_RD
<java.lang.String(never
null),ImportItem
(never null)>(never
null)imports
public void put_imports(String key0, ImportItem value)
val
- the new value of type ImportItem
(never null)imports
public boolean containsKey_imports(String key0)
imports
public void descend_imports(MATCH_ONLY_00 visitor)
public void descend_0_imports(MATCH_ONLY_00 visitor)
public void descend_2_imports(MATCH_ONLY_00 visitor)
public CheckedMap_RD<String,Definition> get_definitions()
CheckedMap_RD
<java.lang.String(never
null),Definition
(never null)>(never
null)public boolean set_definitions(CheckedMap_RD<String,Definition> val)
val
- the new value of type CheckedMap_RD
<java.lang.String(never
null),Definition
(never null)>(never
null)definitions
public void put_definitions(String key0, Definition value)
val
- the new value of type Definition
(never null)definitions
public boolean containsKey_definitions(String key0)
definitions
public void descend_definitions(MATCH_ONLY_00 visitor)
public void descend_0_definitions(MATCH_ONLY_00 visitor)
public void descend_2_definitions(MATCH_ONLY_00 visitor)
public NamespaceName get_defaultElNs()
NamespaceName
(maybe null)public boolean set_defaultElNs(NamespaceName val)
val
- the new value of type NamespaceName
(maybe null)defaultElNs
public CheckedList<NamespaceDecl> get_namespaces()
CheckedList
<NamespaceDecl
(never
null)>(never null)public boolean set_namespaces(CheckedList<NamespaceDecl> val)
val
- the new value of type CheckedList
<NamespaceDecl
(never
null)>(never null)namespaces
public void descend_namespaces(MATCH_ONLY_00 visitor)
public boolean get_isLocal()
public boolean set_isLocal(boolean val)
val
- the new value of type boolean(never null)isLocal
see also the complete user documentation .