public static class DTD.Seq extends DTD.CP
Modifier and Type | Field and Description |
---|---|
protected static int |
BASE_HASH |
protected CheckedList<DTD.CP> |
elems
Generated by umod; model author's documentation MISSING.
|
ANY, EMPTY
format
Constructor and Description |
---|
Seq()
Synthetic minimal constructor provided by the umod compiler.
|
Seq(CheckedList<DTD.CP> elems)
Constructor generated according to specification #1
Constructor defined according to directive "C 1/..". |
Seq(int modifier,
CheckedList<DTD.CP> elems)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
void |
descend_elems(DTD.MATCH_ONLY_00 visitor) |
DTD.Seq |
doclone()
Clones this object.
|
boolean |
equals(Object e0)
Generated by umod because this class is
ALGEBRAIC . |
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
CheckedList<DTD.CP> |
get_elems()
Generated by umod; model author's documentation MISSING.
|
static Pattern<DTD.Seq> |
get_elems(Pattern<? super CheckedList<DTD.CP>> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
int |
hashCode()
Generated by umod because this class is
ALGEBRAIC . |
DTD.Seq |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
DTD.CP |
modify(int modifier) |
DTD.Seq |
with_elems(CheckedList<DTD.CP> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
x_equals(DTD.Seq e0) |
combine, get_modifier, get_modifier, with_modifier
x_equals
protected static final int BASE_HASH
protected CheckedList<DTD.CP> elems
CheckedList
<DTD.CP
(never
null)>(never null)public Seq(int modifier, CheckedList<DTD.CP> elems)
modifier
- is copied to field DTD.CP.modifier
elems
- is copied to field elems
public Seq(CheckedList<DTD.CP> elems)
elems
- is copied to field elems
public Seq()
public DTD.Seq doclone()
Cloneable
is known
to be implemented.public static String getFormatHint()
elems['('|', ',')']$switch
modifier{1:'?',2:'*',3:'+'}
public Format format()
format
in interface Formattable
format
in class DTD.CP
public boolean equals(Object e0)
ALGEBRAIC
.equals
in class DTD.ContentModel
public boolean x_equals(DTD.Seq e0)
public int hashCode()
ALGEBRAIC
.hashCode
in class DTD.ContentModel
public DTD.Seq initFrom(Object o0)
public CheckedList<DTD.CP> get_elems()
CheckedList
<DTD.CP
(never
null)>(never null)public DTD.Seq with_elems(CheckedList<DTD.CP> val)
val
- the new value of type CheckedList
<DTD.CP
(never
null)>(never null)elems
public void descend_elems(DTD.MATCH_ONLY_00 visitor)
public static Pattern<DTD.Seq> get_elems(Pattern<? super CheckedList<DTD.CP>> p)
DTD.__Patterns
.see also the complete user documentation .