public static class DTD.Attlist extends DTD.MarkupDecl
Modifier and Type | Field and Description |
---|---|
protected CheckedList<DTD.AttDef> |
atts
Generated by umod; model author's documentation MISSING.
|
protected String |
element
Generated by umod; model author's documentation MISSING.
|
location, locations
format
Constructor and Description |
---|
Attlist(Location<XMLDocumentIdentifier> location,
String element)
Constructor generated according to specification #99
Constructor defined according to directive "C 99/..". |
Attlist(String element)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
void |
descend_atts(DTD.MATCH_ONLY_00 visitor) |
DTD.Attlist |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
CheckedList<DTD.AttDef> |
get_atts()
Generated by umod; model author's documentation MISSING.
|
static Pattern<DTD.Attlist> |
get_atts(Pattern<? super CheckedList<DTD.AttDef>> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
String |
get_element()
Generated by umod; model author's documentation MISSING.
|
static Pattern<DTD.Attlist> |
get_element(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.Attlist |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_atts(CheckedList<DTD.AttDef> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_element(String val)
Generated by umod; model author's documentation MISSING.
|
descend_locations, get_location, get_location, get_locations, get_locations, set_location, set_locations
protected String element
get_element()
,
set_element(java.lang.String)
protected CheckedList<DTD.AttDef> atts
CheckedList
<DTD.AttDef
(never
null)>(never null)public Attlist(Location<XMLDocumentIdentifier> location, String element)
location
- is copied to field DTD.MarkupDecl.location
element
- is copied to field element
public DTD.Attlist doclone()
Cloneable
is known
to be implemented.doclone
in class DTD.MarkupDecl
public static String getFormatHint()
'<!ATTLIST
'element/atts[/]'>'
public Format format()
format
in interface Formattable
format
in class DTD.MarkupDecl
public DTD.Attlist initFrom(Object o0)
initFrom
in class DTD.MarkupDecl
public String get_element()
public boolean set_element(String val)
val
- the new value of type java.lang.String(never null)element
public CheckedList<DTD.AttDef> get_atts()
CheckedList
<DTD.AttDef
(never
null)>(never null)public boolean set_atts(CheckedList<DTD.AttDef> val)
val
- the new value of type CheckedList
<DTD.AttDef
(never
null)>(never null)atts
public void descend_atts(DTD.MATCH_ONLY_00 visitor)
public static Pattern<DTD.Attlist> get_element(Pattern<? super String> p)
DTD.__Patterns
.public static Pattern<DTD.Attlist> get_atts(Pattern<? super CheckedList<DTD.AttDef>> p)
DTD.__Patterns
.see also the complete user documentation .