public static class DTM.Element extends DTM.Named
Modifier and Type | Field and Description |
---|---|
protected CheckedMap_RD<NamespaceName,DTM.Attribute> |
attrs
Generated by umod; model author's documentation MISSING.
|
protected DTM.Content |
content
Generated by umod; model author's documentation MISSING.
|
static Function<DTM.Element,CheckedMap_RD<NamespaceName,DTM.Attribute>> |
get_attrs
Deprecated.
Use new '::' method reference instead.
|
static Function<DTM.Element,DTM.Content> |
get_content
Deprecated.
Use new '::' method reference instead.
|
get_location, get_name, location, name
format
Constructor and Description |
---|
Element(NamespaceName name,
DTM.Content content)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey_attrs(NamespaceName key0)
Convenience un-Currying method.
|
void |
descend_0_attrs(DTM.MATCH_ONLY_00 visitor) |
void |
descend_attrs(DTM.MATCH_ONLY_00 visitor) |
DTM.Element |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
CheckedMap_RD<NamespaceName,DTM.Attribute> |
get_attrs()
Generated by umod; model author's documentation MISSING.
|
DTM.Content |
get_content()
Generated by umod; model author's documentation MISSING.
|
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
DTM.Element |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
void |
put_attrs(NamespaceName key0,
DTM.Attribute value)
Convenience un-Currying method.
|
boolean |
set_attrs(CheckedMap_RD<NamespaceName,DTM.Attribute> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_content(DTM.Content val)
Generated by umod; model author's documentation MISSING.
|
get_location, get_name, set_location, set_name
protected CheckedMap_RD<NamespaceName,DTM.Attribute> attrs
CheckedMap_RD
<NamespaceName
(never null),DTM.Attribute
(never null)>(never null)@Deprecated public static final Function<DTM.Element,CheckedMap_RD<NamespaceName,DTM.Attribute>> get_attrs
protected DTM.Content content
DTM.Content
(never null)@Deprecated public static final Function<DTM.Element,DTM.Content> get_content
public Element(NamespaceName name, DTM.Content content)
name
- is copied to field DTM.Named.name
content
- is copied to field content
public DTM.Element doclone()
Cloneable
is known
to be implemented.public static String getFormatHint()
'<!ELEMENT'| name,
content|'>'/'<!ATTLIST' name |attrs{$to}[/]|'>'
public Format format()
format
in interface Formattable
format
in class DTM.Named
public DTM.Element initFrom(Object o0)
public CheckedMap_RD<NamespaceName,DTM.Attribute> get_attrs()
CheckedMap_RD
<NamespaceName
(never null),DTM.Attribute
(never null)>(never null)public boolean set_attrs(CheckedMap_RD<NamespaceName,DTM.Attribute> val)
val
- the new value of type CheckedMap_RD
<NamespaceName
(never null),DTM.Attribute
(never null)>(never null)attrs
public void put_attrs(NamespaceName key0, DTM.Attribute value)
val
- the new value of type DTM.Attribute
(never null)attrs
public boolean containsKey_attrs(NamespaceName key0)
attrs
public void descend_attrs(DTM.MATCH_ONLY_00 visitor)
public void descend_0_attrs(DTM.MATCH_ONLY_00 visitor)
public DTM.Content get_content()
DTM.Content
(never
null)public boolean set_content(DTM.Content val)
val
- the new value of type DTM.Content
(never null)content
see also the complete user documentation .