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, locationsformat| 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_locationsprotected String text
get_text(),
set_text(java.lang.String)public Comment(Location<XMLDocumentIdentifier> location, String text)
location - is copied to field DTD.MarkupDecl.locationtext - is copied to field textpublic DTD.Comment doclone()
Cloneable is known
to be implemented.doclone in class DTD.MarkupDeclpublic static String getFormatHint()
'<!--'$text text'-->' public Format format()
format in interface Formattableformat in class DTD.MarkupDeclpublic DTD.Comment initFrom(Object o0)
initFrom in class DTD.MarkupDeclpublic String get_text()
public boolean set_text(String val)
val - the new value of type java.lang.String(never null)textpublic static Pattern<DTD.Comment> get_text(Pattern<? super String> p)
DTD.__Patterns.see also the complete user documentation .