Class NumberMonthElement

All Implemented Interfaces:
Serializable, Cloneable, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class NumberMonthElement extends OdfElement
DOM implementation of OpenDocument element <number:month>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • NumberMonthElement

      public NumberMonthElement(OdfFileDom ownerDoc)
      Create the instance of NumberMonthElement
      Parameters:
      ownerDoc - The type is OdfFileDom
  • Method Details

    • getOdfName

      public OdfName getOdfName()
      Get the element name
      Specified by:
      getOdfName in class OdfElement
      Returns:
      return OdfName the name of element <number:month>.
    • getNumberCalendarAttribute

      public String getNumberCalendarAttribute()
      Receives the value of the ODFDOM attribute representation NumberCalendarAttribute , See @number:calendar
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setNumberCalendarAttribute

      public void setNumberCalendarAttribute(String numberCalendarValue)
      Sets the value of ODFDOM attribute representation NumberCalendarAttribute , See @number:calendar
      Parameters:
      numberCalendarValue - The type is String
    • getNumberPossessiveFormAttribute

      public Boolean getNumberPossessiveFormAttribute()
      Receives the value of the ODFDOM attribute representation NumberPossessiveFormAttribute , See @number:possessive-form
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setNumberPossessiveFormAttribute

      public void setNumberPossessiveFormAttribute(Boolean numberPossessiveFormValue)
      Sets the value of ODFDOM attribute representation NumberPossessiveFormAttribute , See @number:possessive-form
      Parameters:
      numberPossessiveFormValue - The type is Boolean
    • getNumberStyleAttribute

      public String getNumberStyleAttribute()
      Receives the value of the ODFDOM attribute representation NumberStyleAttribute , See @number:style
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setNumberStyleAttribute

      public void setNumberStyleAttribute(String numberStyleValue)
      Sets the value of ODFDOM attribute representation NumberStyleAttribute , See @number:style
      Parameters:
      numberStyleValue - The type is String
    • getNumberTextualAttribute

      public Boolean getNumberTextualAttribute()
      Receives the value of the ODFDOM attribute representation NumberTextualAttribute , See @number:textual
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setNumberTextualAttribute

      public void setNumberTextualAttribute(Boolean numberTextualValue)
      Sets the value of ODFDOM attribute representation NumberTextualAttribute , See @number:textual
      Parameters:
      numberTextualValue - The type is Boolean
    • accept

      public void accept(ElementVisitor visitor)
      Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.
      Overrides:
      accept in class OdfElement
      Parameters:
      visitor - an instance of DefaultElementVisitor