Package eu.bandm.tools.dtd
Class DTD.EntityValue
java.lang.Object
eu.bandm.tools.dtd.DTD.EntityValue
- All Implemented Interfaces:
Formattable
,Cloneable
- Enclosing class:
- DTD
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":56.1, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":56.1, see this pretty print.)
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
Generated by umod; model author's documentation MISSING.protected XMLDocumentIdentifier
Generated by umod; model author's documentation MISSING.protected String
Generated by umod; model author's documentation MISSING. -
Constructor Summary
ConstructorDescriptionEntityValue
(XMLDocumentIdentifier id, String definition, String replacement) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".EntityValue
(String definition) Constructor generated according to specification #2
Constructor defined according to directive "C 2/..".EntityValue
(String definition, String replacement) Constructor generated according to specification #1
Constructor defined according to directive "C 1/..". -
Method Summary
Modifier and TypeMethodDescriptiondoclone()
Clones this object.format()
Delivers a format object for pretty-printing, as specified in the umod source.Generated by umod; model author's documentation MISSING.static Pattern<DTD.EntityValue>
get_definition
(Pattern<? super String> p) Lifts a pattern which matches the field value to one which matches this whole object.get_id()
Generated by umod; model author's documentation MISSING.static Pattern<DTD.EntityValue>
get_id
(Pattern<? super XMLDocumentIdentifier> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.static Pattern<DTD.EntityValue>
get_replacement
(Pattern<? super String> p) Lifts a pattern which matches the field value to one which matches this whole object.static String
Delivers the format specification from the umod source.Copies values of all common fields from the argument.boolean
set_definition
(String val) Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
set_replacement
(String val) Generated by umod; model author's documentation MISSING.
-
Field Details
-
id
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":130.3-51, see this pretty print.)
The type of this field isXMLDocumentIdentifier
(maybe null)
Its value defaults to null. -
definition
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":131.3-59, see this pretty print.)
The type of this field is java.lang.String(never null)
It is set by every possible constructor. -
replacement
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":132.3-55, see this pretty print.)
The type of this field is java.lang.String(maybe null)
Its value defaults to null.
-
-
Constructor Details
-
EntityValue
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
id
- is copied to fieldid
definition
- is copied to fielddefinition
replacement
- is copied to fieldreplacement
-
EntityValue
Constructor generated according to specification #1
Constructor defined according to directive "C 1/..".- Parameters:
definition
- is copied to fielddefinition
replacement
- is copied to fieldreplacement
-
EntityValue
Constructor generated according to specification #2
Constructor defined according to directive "C 2/..".- Parameters:
definition
- is copied to fielddefinition
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
id?$java 'eu.bandm.tools.format.Formats.quoteDTDstyle'($text definition)
This can be used e.g. by format code interpreters which process objects of different origin. -
format
Delivers a format object for pretty-printing, as specified in the umod source.- Specified by:
format
in interfaceFormattable
- Returns:
- a format that represents this object in a pretty-printable way
-
initFrom
Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument. -
get_id
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":130.3-51, see this pretty print.)
Generated getter method. @see #id- Returns:
- The current field value of type
XMLDocumentIdentifier
(maybe null)
-
set_id
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":130.3-51, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeXMLDocumentIdentifier
(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_definition
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":131.3-59, see this pretty print.)
Generated getter method. @see #definition- Returns:
- The current field value of type java.lang.String(never null)
-
set_definition
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":131.3-59, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type java.lang.String(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_replacement
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":132.3-55, see this pretty print.)
Generated getter method. @see #replacement- Returns:
- The current field value of type java.lang.String(maybe null)
-
set_replacement
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":132.3-55, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type java.lang.String(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_id
Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary classDTD.__Patterns
. -
get_definition
Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary classDTD.__Patterns
. -
get_replacement
Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary classDTD.__Patterns
.
-