public static class DTD.Entity extends DTD.MarkupDecl
Modifier and Type | Field and Description |
---|---|
protected String |
name
Generated by umod; model author's documentation MISSING.
|
protected boolean |
parameter
Generated by umod; model author's documentation MISSING.
|
protected DTD.EntityValue |
value
Generated by umod; model author's documentation MISSING.
|
location, locations
format
Constructor and Description |
---|
Entity(boolean parameter,
String name,
DTD.EntityValue value)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Entity(Location<XMLDocumentIdentifier> location,
boolean parameter,
String name,
DTD.EntityValue value)
Constructor generated according to specification #99
Constructor defined according to directive "C 99/..". |
Modifier and Type | Method and Description |
---|---|
DTD.Entity |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
String |
get_name()
Generated by umod; model author's documentation MISSING.
|
static Pattern<DTD.Entity> |
get_name(Pattern<? super String> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
boolean |
get_parameter()
Generated by umod; model author's documentation MISSING.
|
static Pattern<DTD.Entity> |
get_parameter(Pattern<? super Boolean> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
DTD.EntityValue |
get_value()
Generated by umod; model author's documentation MISSING.
|
static Pattern<DTD.Entity> |
get_value(Pattern<? super DTD.EntityValue> 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.Entity |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_name(String val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_parameter(boolean val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_value(DTD.EntityValue val)
Generated by umod; model author's documentation MISSING.
|
descend_locations, get_location, get_location, get_locations, get_locations, set_location, set_locations
protected boolean parameter
get_parameter()
,
set_parameter(boolean)
protected String name
get_name()
,
set_name(java.lang.String)
protected DTD.EntityValue value
DTD.EntityValue
(never null)public Entity(Location<XMLDocumentIdentifier> location, boolean parameter, String name, DTD.EntityValue value)
location
- is copied to field DTD.MarkupDecl.location
parameter
- is copied to field parameter
name
- is copied to field name
value
- is copied to field value
public Entity(boolean parameter, String name, DTD.EntityValue value)
public DTD.Entity doclone()
Cloneable
is known
to be implemented.doclone
in class DTD.MarkupDecl
public static String getFormatHint()
('<!ENTITY'|' '|$switch
parameter{true:'%'} 2>name); ;2>value;'>'
public Format format()
format
in interface Formattable
format
in class DTD.MarkupDecl
public DTD.Entity initFrom(Object o0)
initFrom
in class DTD.MarkupDecl
public boolean get_parameter()
public boolean set_parameter(boolean val)
val
- the new value of type boolean(never null)parameter
public String get_name()
public boolean set_name(String val)
val
- the new value of type java.lang.String(never null)name
public DTD.EntityValue get_value()
DTD.EntityValue
(never
null)public boolean set_value(DTD.EntityValue val)
val
- the new value of type DTD.EntityValue
(never null)value
public static Pattern<DTD.Entity> get_parameter(Pattern<? super Boolean> p)
DTD.__Patterns
.public static Pattern<DTD.Entity> get_name(Pattern<? super String> p)
DTD.__Patterns
.public static Pattern<DTD.Entity> get_value(Pattern<? super DTD.EntityValue> p)
DTD.__Patterns
.see also the complete user documentation .