public static class DTD.AttValue extends DTD.DefaultDecl
Modifier and Type | Field and Description |
---|---|
protected boolean |
fixed
Generated by umod; model author's documentation MISSING.
|
protected String |
value
Generated by umod; model author's documentation MISSING.
|
IMPLIED, REQUIRED
format
Constructor and Description |
---|
AttValue(boolean fixed,
String value)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
DTD.AttValue |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
boolean |
get_fixed()
Generated by umod; model author's documentation MISSING.
|
static Pattern<DTD.AttValue> |
get_fixed(Pattern<? super Boolean> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
String |
get_value()
Generated by umod; model author's documentation MISSING.
|
static Pattern<DTD.AttValue> |
get_value(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.
|
DTD.AttValue |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_fixed(boolean val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_value(String val)
Generated by umod; model author's documentation MISSING.
|
protected boolean fixed
get_fixed()
,
set_fixed(boolean)
protected String value
get_value()
,
set_value(java.lang.String)
public DTD.AttValue doclone()
Cloneable
is known
to be implemented.doclone
in class DTD.DefaultDecl
public static String getFormatHint()
$switch fixed{true:'#FIXED
'}($java'eu.bandm.tools.format.Format.quoteDTDstyle'(value))
public Format format()
format
in interface Formattable
format
in class DTD.DefaultDecl
public DTD.AttValue initFrom(Object o0)
initFrom
in class DTD.DefaultDecl
public boolean get_fixed()
public boolean set_fixed(boolean val)
val
- the new value of type boolean(never null)fixed
public String get_value()
public boolean set_value(String val)
val
- the new value of type java.lang.String(never null)value
public static Pattern<DTD.AttValue> get_fixed(Pattern<? super Boolean> p)
DTD.__Patterns
.public static Pattern<DTD.AttValue> get_value(Pattern<? super String> p)
DTD.__Patterns
.see also the complete user documentation .