Class Element_note.Choice_1

All Implemented Interfaces:
Matchable<BaseMatcher>, TypedContent, Visitable<Visitor>
Direct Known Subclasses:
Element_note.Choice_1_Alt_1, Element_note.Choice_1_Alt_2, Element_note.Choice_1_Alt_3, Element_note.Choice_1_Alt_4, Element_note.Choice_1_Alt_5, Element_note.Choice_1_Alt_6
Enclosing class:
Element_note

@Undocumented public abstract static class Element_note.Choice_1 extends TypedChoice<Extension> implements Visitable<Visitor>, Matchable<BaseMatcher>
Realizes the content model
(ACCEPTED | FIXED | CLOSED | WONTFIX | WORKSFORME | REOPENED)?
which is the 1st choice clause in the enclosing content model, realized by Element_note.
Please note that there are no (sensible) constructors; use the overloaded alt(..) factory methods instead, to construct an instance of the appropriate subclass.
  • Constructor Details

    • Choice_1

      public Choice_1(int altIndex)
  • Method Details

    • set

      public void set()
    • __dumpElementSnapshot

      public void __dumpElementSnapshot(List<TypedSubstantial<Extension>> list)
    • isAlt_1

      @Undocumented public final boolean isAlt_1()
      Returns whether current contents corrresponds to the 1st alternative. of the underlying content model. This numbering is one-based.
      The content model of this alternative is
      ACCEPTED.
      Returns:
      whether current contents corrresponds to the 1st alternative.
    • toAlt_1

      If the current contents corresponds to the 1st alternative of the underlying content model, then cast it accordingly, otherwise return null. The numbering is one-based.
      The content model of this alternative is
      ACCEPTED.
      Returns:
      (maybe null) the current contents cast into the 1st alternative.
    • isAlt_2

      @Undocumented public final boolean isAlt_2()
      Returns whether current contents corrresponds to the 2nd alternative. of the underlying content model. This numbering is one-based.
      The content model of this alternative is
      FIXED.
      Returns:
      whether current contents corrresponds to the 2nd alternative.
    • toAlt_2

      If the current contents corresponds to the 2nd alternative of the underlying content model, then cast it accordingly, otherwise return null. The numbering is one-based.
      The content model of this alternative is
      FIXED.
      Returns:
      (maybe null) the current contents cast into the 2nd alternative.
    • isAlt_3

      @Undocumented public final boolean isAlt_3()
      Returns whether current contents corrresponds to the 3rd alternative. of the underlying content model. This numbering is one-based.
      The content model of this alternative is
      CLOSED.
      Returns:
      whether current contents corrresponds to the 3rd alternative.
    • toAlt_3

      If the current contents corresponds to the 3rd alternative of the underlying content model, then cast it accordingly, otherwise return null. The numbering is one-based.
      The content model of this alternative is
      CLOSED.
      Returns:
      (maybe null) the current contents cast into the 3rd alternative.
    • isAlt_4

      @Undocumented public final boolean isAlt_4()
      Returns whether current contents corrresponds to the 4th alternative. of the underlying content model. This numbering is one-based.
      The content model of this alternative is
      WONTFIX.
      Returns:
      whether current contents corrresponds to the 4th alternative.
    • toAlt_4

      If the current contents corresponds to the 4th alternative of the underlying content model, then cast it accordingly, otherwise return null. The numbering is one-based.
      The content model of this alternative is
      WONTFIX.
      Returns:
      (maybe null) the current contents cast into the 4th alternative.
    • isAlt_5

      @Undocumented public final boolean isAlt_5()
      Returns whether current contents corrresponds to the 5th alternative. of the underlying content model. This numbering is one-based.
      The content model of this alternative is
      WORKSFORME.
      Returns:
      whether current contents corrresponds to the 5th alternative.
    • toAlt_5

      If the current contents corresponds to the 5th alternative of the underlying content model, then cast it accordingly, otherwise return null. The numbering is one-based.
      The content model of this alternative is
      WORKSFORME.
      Returns:
      (maybe null) the current contents cast into the 5th alternative.
    • isAlt_6

      @Undocumented public final boolean isAlt_6()
      Returns whether current contents corrresponds to the 6th alternative. of the underlying content model. This numbering is one-based.
      The content model of this alternative is
      REOPENED.
      Returns:
      whether current contents corrresponds to the 6th alternative.
    • toAlt_6

      If the current contents corresponds to the 6th alternative of the underlying content model, then cast it accordingly, otherwise return null. The numbering is one-based.
      The content model of this alternative is
      REOPENED.
      Returns:
      (maybe null) the current contents cast into the 6th alternative.
    • alt

      @Undocumented public static Element_note.Choice_1 alt(Element_ACCEPTED elem_1_ACCEPTED)
      Wrap the content sequence into an instance of the corresponding subtype. The content model is
      ACCEPTED
    • alt

      @Undocumented public static Element_note.Choice_1 alt(Element_FIXED elem_1_FIXED)
      Wrap the content sequence into an instance of the corresponding subtype. The content model is
      FIXED
    • alt

      @Undocumented public static Element_note.Choice_1 alt(Element_CLOSED elem_1_CLOSED)
      Wrap the content sequence into an instance of the corresponding subtype. The content model is
      CLOSED
    • alt

      @Undocumented public static Element_note.Choice_1 alt(Element_WONTFIX elem_1_WONTFIX)
      Wrap the content sequence into an instance of the corresponding subtype. The content model is
      WONTFIX
    • alt

      @Undocumented public static Element_note.Choice_1 alt(Element_WORKSFORME elem_1_WORKSFORME)
      Wrap the content sequence into an instance of the corresponding subtype. The content model is
      WORKSFORME
    • alt

      @Undocumented public static Element_note.Choice_1 alt(Element_REOPENED elem_1_REOPENED)
      Wrap the content sequence into an instance of the corresponding subtype. The content model is
      REOPENED
    • parse

      Throws:
      TdomAttributeException
      TdomContentException
      TdomXmlException
    • host

      public void host(Visitor visitor)
      Description copied from interface: Visitable
      Send the visitor to this instance.
      Specified by:
      host in interface Visitable<Visitor>
    • identify

      public void identify(BaseMatcher matcher)
      Specified by:
      identify in interface Matchable<BaseMatcher>