Class DTM.ProcessingInstruction

java.lang.Object
eu.bandm.tools.dtm.DTM.ProcessingInstruction
All Implemented Interfaces:
Formattable, Cloneable
Enclosing class:
DTM

public static class DTM.ProcessingInstruction extends Object implements Cloneable, Formattable
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":90.1-93.16, see this pretty print.)
  • Field Details

    • target

      protected String target
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTM.umod":91.9-49, see this pretty print.)
      The type of this field is java.lang.String(never null)
      It is set by every possible constructor.

      See Also:
    • body

      protected String body
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTM.umod":92.9-49, see this pretty print.)
      The type of this field is java.lang.String(never null)
      It is set by every possible constructor.

      See Also:
  • Constructor Details

    • ProcessingInstruction

      public ProcessingInstruction(String target, String body)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".

      Parameters:
      target - is copied to field target
      body - is copied to field body
  • Method Details

    • doclone

      public DTM.ProcessingInstruction doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Returns:
      a fresh copy.

    • getFormatHint

      public static String getFormatHint()
      Delivers the format specification from the umod source.
      The constant return value is ..
      '<?'|target ,body|'?>'
      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
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public DTM.ProcessingInstruction 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.
    • get_target

      public String get_target()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTM.umod":91.9-49, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type java.lang.String(never null)
      See Also:
    • set_target

      public boolean set_target(String val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTM.umod":91.9-49, 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_body

      public String get_body()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTM.umod":92.9-49, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type java.lang.String(never null)
      See Also:
    • set_body

      public boolean set_body(String val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTM.umod":92.9-49, 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_target

      public static Pattern<DTM.ProcessingInstruction> get_target(Pattern<? super String> 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 DTM.__Patterns.
    • get_body

      public static Pattern<DTM.ProcessingInstruction> get_body(Pattern<? super String> 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 DTM.__Patterns.