Class NumberSecondsElement

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

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

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • NumberSecondsElement

      public NumberSecondsElement(OdfFileDom ownerDoc)
      Create the instance of NumberSecondsElement
      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:seconds>.
    • getNumberDecimalPlacesAttribute

      public Integer getNumberDecimalPlacesAttribute()
      Receives the value of the ODFDOM attribute representation NumberDecimalPlacesAttribute , See @number:decimal-places
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setNumberDecimalPlacesAttribute

      public void setNumberDecimalPlacesAttribute(Integer numberDecimalPlacesValue)
      Sets the value of ODFDOM attribute representation NumberDecimalPlacesAttribute , See @number:decimal-places
      Parameters:
      numberDecimalPlacesValue - The type is Integer
    • 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