public static class DTD.Comment extends DTD.MarkupDecl
Modifier and Type | Field and Description |
---|---|
protected String |
text
Generated by umod; model author's documentation MISSING.
|
location, locations
format
Constructor and Description |
---|
Comment(Location<XMLDocumentIdentifier> location,
String text)
Constructor generated according to specification #99
Constructor defined according to directive "C 99/..". |
Comment(String text)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
DTD.Comment |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
String |
get_text()
Generated by umod; model author's documentation MISSING.
|
static Pattern<DTD.Comment> |
get_text(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.Comment |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_text(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 text
get_text()
,
set_text(java.lang.String)
public Comment(Location<XMLDocumentIdentifier> location, String text)
location
- is copied to field DTD.MarkupDecl.location
text
- is copied to field text
public DTD.Comment doclone()
Cloneable
is known
to be implemented.doclone
in class DTD.MarkupDecl
public static String getFormatHint()
'<!--'$text text'-->'
public Format format()
format
in interface Formattable
format
in class DTD.MarkupDecl
public DTD.Comment initFrom(Object o0)
initFrom
in class DTD.MarkupDecl
public String get_text()
public boolean set_text(String val)
val
- the new value of type java.lang.String(never null)text
public static Pattern<DTD.Comment> get_text(Pattern<? super String> p)
DTD.__Patterns
.see also the complete user documentation .