public static class DTD.ContentModelConstant extends DTD.ContentModel
Modifier and Type | Field and Description |
---|---|
protected static int |
BASE_HASH |
protected String |
label
Generated by umod; model author's documentation MISSING.
|
ANY, EMPTY
format
Constructor and Description |
---|
ContentModelConstant(String label)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
DTD.ContentModelConstant |
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.
|
String |
get_label()
Generated by umod; model author's documentation MISSING.
|
static Pattern<DTD.ContentModelConstant> |
get_label(Pattern<? super String> 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.ContentModelConstant |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
DTD.ContentModelConstant |
with_label(String val)
Generated by umod; model author's documentation MISSING.
|
boolean |
x_equals(DTD.ContentModelConstant e0) |
x_equals
protected static final int BASE_HASH
protected String label
get_label()
,
with_label(java.lang.String)
public DTD.ContentModelConstant doclone()
Cloneable
is known
to be implemented.doclone
in class DTD.ContentModel
public static String getFormatHint()
label
public Format format()
format
in interface Formattable
format
in class DTD.ContentModel
public boolean equals(Object e0)
ALGEBRAIC
.equals
in class DTD.ContentModel
public boolean x_equals(DTD.ContentModelConstant e0)
public int hashCode()
ALGEBRAIC
.hashCode
in class DTD.ContentModel
public DTD.ContentModelConstant initFrom(Object o0)
initFrom
in class DTD.ContentModel
public String get_label()
public DTD.ContentModelConstant with_label(String val)
val
- the new value of type java.lang.String(never null)label
public static Pattern<DTD.ContentModelConstant> get_label(Pattern<? super String> p)
DTD.__Patterns
.see also the complete user documentation .