Class NumberScientificNumberElement

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

public class NumberScientificNumberElement extends OdfElement
DOM implementation of OpenDocument element <number:scientific-number>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • NumberScientificNumberElement

      public NumberScientificNumberElement(OdfFileDom ownerDoc)
      Create the instance of NumberScientificNumberElement
      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:scientific-number>.
    • 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
    • getNumberGroupingAttribute

      public Boolean getNumberGroupingAttribute()
      Receives the value of the ODFDOM attribute representation NumberGroupingAttribute , See @number:grouping
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setNumberGroupingAttribute

      public void setNumberGroupingAttribute(Boolean numberGroupingValue)
      Sets the value of ODFDOM attribute representation NumberGroupingAttribute , See @number:grouping
      Parameters:
      numberGroupingValue - The type is Boolean
    • getNumberMinExponentDigitsAttribute

      public Integer getNumberMinExponentDigitsAttribute()
      Receives the value of the ODFDOM attribute representation NumberMinExponentDigitsAttribute , See @number:min-exponent-digits
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setNumberMinExponentDigitsAttribute

      public void setNumberMinExponentDigitsAttribute(Integer numberMinExponentDigitsValue)
      Sets the value of ODFDOM attribute representation NumberMinExponentDigitsAttribute , See @number:min-exponent-digits
      Parameters:
      numberMinExponentDigitsValue - The type is Integer
    • getNumberMinIntegerDigitsAttribute

      public Integer getNumberMinIntegerDigitsAttribute()
      Receives the value of the ODFDOM attribute representation NumberMinIntegerDigitsAttribute , See @number:min-integer-digits
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setNumberMinIntegerDigitsAttribute

      public void setNumberMinIntegerDigitsAttribute(Integer numberMinIntegerDigitsValue)
      Sets the value of ODFDOM attribute representation NumberMinIntegerDigitsAttribute , See @number:min-integer-digits
      Parameters:
      numberMinIntegerDigitsValue - The type is Integer
    • 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