public abstract static class DTD.CP extends DTD.ContentModel
| Modifier and Type | Field and Description |
|---|---|
protected int |
modifier
Generated by umod; model author's documentation MISSING.
|
static int |
NONE |
static int |
OPTIONAL |
static int |
PLUS |
static int |
STAR |
ANY, BASE_HASH, EMPTYformat| Constructor and Description |
|---|
CP()
Synthetic minimal constructor provided by the umod compiler.
|
CP(int modifier)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
| Modifier and Type | Method and Description |
|---|---|
static int |
combine(int modifier1,
int modifier2) |
DTD.CP |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.
|
int |
get_modifier()
Generated by umod; model author's documentation MISSING.
|
static Pattern<DTD.CP> |
get_modifier(Pattern<? super Integer> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
DTD.CP |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
DTD.CP |
modify(int modifier) |
DTD.CP |
with_modifier(int val)
Generated by umod; model author's documentation MISSING.
|
equals, hashCode, x_equalspublic static final int NONE
public static final int OPTIONAL
public static final int STAR
public static final int PLUS
protected int modifier
get_modifier(),
with_modifier(int)public CP(int modifier)
modifier - is copied to field modifierpublic CP()
public DTD.CP doclone()
Cloneable is known
to be implemented.doclone in class DTD.ContentModelpublic Format format()
format in interface Formattableformat in class DTD.ContentModelpublic static int combine(int modifier1,
int modifier2)
public DTD.CP modify(int modifier)
public DTD.CP initFrom(Object o0)
initFrom in class DTD.ContentModelpublic int get_modifier()
public DTD.CP with_modifier(int val)
val - the new value of type int(never null)modifierpublic static Pattern<DTD.CP> get_modifier(Pattern<? super Integer> p)
DTD.__Patterns.see also the complete user documentation .