Class NumberYearElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • NumberYearElement

        public NumberYearElement​(OdfFileDom ownerDoc)
        Create the instance of NumberYearElement
        Parameters:
        ownerDoc - The type is OdfFileDom
    • Method Detail

      • 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
      • 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
      • 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