Package eu.bandm.tools.dtd
Class DTD.AttDef
java.lang.Object
eu.bandm.tools.dtd.DTD.AttDef
- 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":58.1, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":58.1, see this pretty print.)
-
Field Summary
Modifier and TypeFieldDescriptionprotected Location<XMLDocumentIdentifier>
Generated by umod; model author's documentation MISSING.protected List<Location<XMLDocumentIdentifier>>
Generated by umod; model author's documentation MISSING.protected String
Generated by umod; model author's documentation MISSING.protected DTD.AttType
Generated by umod; model author's documentation MISSING.protected DTD.DefaultDecl
Generated by umod; model author's documentation MISSING. -
Constructor Summary
ConstructorDescriptionAttDef
(Location<XMLDocumentIdentifier> location, String name, DTD.AttType type, DTD.DefaultDecl value) Constructor generated according to specification #99
Constructor defined according to directive "C 99/..".AttDef
(String name, DTD.AttType type, DTD.DefaultDecl value) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptionvoid
descend_locations
(DTD.MATCH_ONLY_00 visitor) Deprecated.doclone()
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.AttDef>
get_location
(Pattern<? super Location<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.AttDef>
get_locations
(Pattern<? super List<Location<XMLDocumentIdentifier>>> p) Lifts a pattern which matches the field value to one which matches this whole object.get_name()
Generated by umod; model author's documentation MISSING.static Pattern<DTD.AttDef>
Lifts a pattern which matches the field value to one which matches this whole object.get_type()
Generated by umod; model author's documentation MISSING.static Pattern<DTD.AttDef>
get_type
(Pattern<? super DTD.AttType> 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.AttDef>
get_value
(Pattern<? super DTD.DefaultDecl> 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
Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
set_type
(DTD.AttType val) Generated by umod; model author's documentation MISSING.boolean
set_value
(DTD.DefaultDecl val) Generated by umod; model author's documentation MISSING.
-
Field Details
-
location
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":135.3-55, see this pretty print.)
The type of this field isLocation
(maybe null)
Its value defaults to null. -
locations
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":136.3-25, see this pretty print.)
The type of this field isList
<Location
(maybe null)>(never null)
Its value defaults to an empty collection. -
name
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":137.3-55, see this pretty print.)
The type of this field is java.lang.String(never null)
It is set by every possible constructor.- See Also:
-
type
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":138.3-62, see this pretty print.)
The type of this field isDTD.AttType
(never null)
It is set by every possible constructor. -
value
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":139.3-62, see this pretty print.)
The type of this field isDTD.DefaultDecl
(never null)
It is set by every possible constructor.
-
-
Constructor Details
-
AttDef
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
AttDef
public AttDef(Location<XMLDocumentIdentifier> location, String name, DTD.AttType type, DTD.DefaultDecl value) Constructor generated according to specification #99
Constructor defined according to directive "C 99/..".
-
-
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 ..
$tabular{10>name,30>type,50>value}
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_location
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":135.3-55, see this pretty print.)
Generated getter method. -
set_location
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":135.3-55, see this pretty print.)
Updates the (mutable) instance destructively. -
get_locations
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":136.3-25, see this pretty print.)
Generated getter method. -
set_locations
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":136.3-25, see this pretty print.)
Updates the (mutable) instance destructively. -
descend_locations
Deprecated. -
get_name
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":137.3-55, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.String(never null)
- See Also:
-
set_name
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":137.3-55, 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_type
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":138.3-62, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
DTD.AttType
(never null) - See Also:
-
set_type
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":138.3-62, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeDTD.AttType
(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_value
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":139.3-62, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
DTD.DefaultDecl
(never null) - See Also:
-
set_value
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTD.umod":139.3-62, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeDTD.DefaultDecl
(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_location
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_locations
public static Pattern<DTD.AttDef> get_locations(Pattern<? super List<Location<XMLDocumentIdentifier>>> p) 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_name
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_type
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_value
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
.
-