Class XRegExp

All Implemented Interfaces:
Formattable, Serializable, Cloneable
Direct Known Subclasses:
CharsRegExp, TagsRegExp

public class XRegExp extends Definition
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":248.3-252.16, see this pretty print.)
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • doclone

      public XRegExp doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Overrides:
      doclone in class Definition
      Returns:
      a fresh copy.
    • getFormatHint

      public static String 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

      public Format format()
      Delivers a format object for pretty-printing, as specified in the umod source.
      Specified by:
      format in interface Formattable
      Overrides:
      format in class Definition
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public XRegExp initFrom(Object o0)
      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 class Definition
    • get_value

      public Expression get_value()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":249.9-80, see this pretty print.)
      Generated getter method. @see #value
      Returns:
      The current field value of type Expression(never null)
    • set_value

      public boolean set_value(Expression val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":249.9-80, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type Expression(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_xattributes

      public CheckedMap_RD<Definition,Boolean> 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":250.9-251.9, see this pretty print.)
      Generated getter method. @see #xattributes
      Returns:
      The current field value of type CheckedMap_RD<Definition(never null),java.lang.Boolean(never null)>(maybe null)
    • set_xattributes

      public boolean set_xattributes(CheckedMap_RD<Definition,Boolean> val)
      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":250.9-251.9, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type CheckedMap_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 public void descend_xattributes(MATCH_ONLY_00 visitor)
      Deprecated.
    • get_value

      public static Pattern<XRegExp> get_value(Pattern<? super Expression> 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_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.