Package eu.bandm.tools.d2d2.model
Class XRegExp
java.lang.Object
eu.bandm.tools.d2d2.model.SourceItem
eu.bandm.tools.d2d2.model.Definition
eu.bandm.tools.d2d2.model.XRegExp
- All Implemented Interfaces:
Formattable
,Serializable
,Cloneable
- Direct Known Subclasses:
CharsRegExp
,TagsRegExp
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":242.3-248.16, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":242.3-248.16, see this pretty print.)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionDeprecated.Use new '::' method reference instead.static final Function<XRegExp,
Expression> Deprecated.Use new '::' method reference instead.static final Function<XRegExp,
CheckedMap_RD<Definition, Boolean>> Deprecated.Use new '::' method reference instead.protected Object
Generated by umod; model author's documentation MISSING.protected Expression
Generated by umod; model author's documentation MISSING.protected CheckedMap_RD<Definition,
Boolean> Lists all sub-expressions to realize as XML attributes, and whether optional.(transient cache)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":244.9-245.9, see this pretty print.)
The type of this field isCheckedMap_RD
<Definition
(never null),java.lang.Boolean(never null)>(maybe null)
Its value defaults to null.Fields inherited from class eu.bandm.tools.d2d2.model.Definition
definedAsLocal, editpragmas, get_definedAsLocal, get_editpragmas, get_isgeneric, get_ispublic, get_postproc, get_xml_kind, get_xml_src_tag, get_xml_tag, get_xml_trimmed, get_xml_value, isgeneric, ispublic, postproc, xml_kind, xml_src_tag, xml_tag, xml_trimmed, xml_value
Fields inherited from class eu.bandm.tools.d2d2.model.SourceItem
context, docu, get_context, get_docu, get_location, get_name, location, name
-
Constructor Summary
ConstructorDescriptionXRegExp()
XRegExp
(SourceItem context, String name, Location<XMLDocumentIdentifier> location, Expression value) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".XRegExp
(String name, Location<XMLDocumentIdentifier> location, Expression value) Synthetic minimal constructor provided by the umod compiler. -
Method Summary
Modifier and TypeMethodDescriptionvoid
descend_xattributes
(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.get_manglingRule
(Pattern<? super Object> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_value
(Pattern<? super Expression> p) Lifts a pattern which matches the field value to one which matches this whole object.Lists all sub-expressions to realize as XML attributes, and whether optional.(transient cache)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":244.9-245.9, see this pretty print.)
Generated getter method.get_xattributes
(Pattern<? super CheckedMap_RD<Definition, Boolean>> 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_manglingRule
(Object val) Generated by umod; model author's documentation MISSING.boolean
set_value
(Expression val) Generated by umod; model author's documentation MISSING.boolean
Lists all sub-expressions to realize as XML attributes, and whether optional.(transient cache)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":244.9-245.9, see this pretty print.)
Updates the (mutable) instance destructively.Methods inherited from class eu.bandm.tools.d2d2.model.Definition
get_definedAsLocal, get_definedAsLocal, get_editpragmas, get_editpragmas, get_isgeneric, get_isgeneric, get_ispublic, get_ispublic, get_postproc, get_postproc, get_xml_kind, get_xml_kind, get_xml_src_tag, get_xml_src_tag, get_xml_tag, get_xml_tag, get_xml_trimmed, get_xml_trimmed, get_xml_value, get_xml_value, set_definedAsLocal, set_editpragmas, set_isgeneric, set_ispublic, set_postproc, set_xml_kind, set_xml_src_tag, set_xml_tag, set_xml_trimmed, set_xml_value
Methods inherited from class eu.bandm.tools.d2d2.model.SourceItem
add_docu, containsKey_docu, descend_docu, fullPath, get_context, get_context, get_docu, get_docu, get_location, get_location, get_name, get_name, put_docu, set_context, set_docu, set_location, set_name
-
Field Details
-
value
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":243.9-80, see this pretty print.)
The type of this field isExpression
(never null)
It is set by every possible constructor. -
get_value
Deprecated.Use new '::' method reference instead. -
xattributes
Lists all sub-expressions to realize as XML attributes, and whether optional.(transient cache)(This definition has been created by UMod from the source at SYSTEM "D2d.umod":244.9-245.9, see this pretty print.)
The type of this field isCheckedMap_RD
<Definition
(never null),java.lang.Boolean(never null)>(maybe null)
Its value defaults to null. -
get_xattributes
Deprecated.Use new '::' method reference instead. -
manglingRule
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":247.9-29, see this pretty print.)
The type of this field isObject
(maybe null)
Its value defaults to null. -
get_manglingRule
Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
XRegExp
public XRegExp(SourceItem context, String name, Location<XMLDocumentIdentifier> location, Expression value) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
context
- is copied to fieldSourceItem.context
name
- is copied to fieldSourceItem.name
location
- is copied to fieldSourceItem.location
value
- is copied to fieldvalue
-
XRegExp
Synthetic minimal constructor provided by the umod compiler.
Constructor with minimal set of arguments, supplied automatically by the umod compiler, not explicitly by user.- Parameters:
name
- is copied to fieldSourceItem.name
location
- is copied to fieldSourceItem.location
value
- is copied to fieldvalue
-
XRegExp
XRegExp()
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classDefinition
- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
$JAVA result = AuxFormat.xRegExpToFormat(el);
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
- Overrides:
format
in classDefinition
- 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.- Overrides:
initFrom
in classDefinition
-
get_value
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":243.9-80, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Expression
(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 "D2d.umod":243.9-80, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeExpression
(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_xattributes
Lists all sub-expressions to realize as XML attributes, and whether optional.(transient cache)(This definition has been created by UMod from the source at SYSTEM "D2d.umod":244.9-245.9, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedMap_RD
<Definition
(never null),java.lang.Boolean(never null)>(maybe null) - See Also:
-
set_xattributes
Lists all sub-expressions to realize as XML attributes, and whether optional.(transient cache)(This definition has been created by UMod from the source at SYSTEM "D2d.umod":244.9-245.9, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedMap_RD
<Definition
(never null),java.lang.Boolean(never null)>(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
descend_xattributes
Deprecated. -
get_manglingRule
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":247.9-29, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Object
(maybe null) - See Also:
-
set_manglingRule
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":247.9-29, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeObject
(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
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 class__Patterns
. -
get_xattributes
public static Pattern<XRegExp> get_xattributes(Pattern<? super CheckedMap_RD<Definition, Boolean>> 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 class__Patterns
. -
get_manglingRule
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 class__Patterns
.
-