Class NumberCurrencySymbolElement

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

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

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • NumberCurrencySymbolElement

      public NumberCurrencySymbolElement(OdfFileDom ownerDoc)
      Create the instance of NumberCurrencySymbolElement
      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:currency-symbol>.
    • getNumberCountryAttribute

      public String getNumberCountryAttribute()
      Receives the value of the ODFDOM attribute representation NumberCountryAttribute , See @number:country
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setNumberCountryAttribute

      public void setNumberCountryAttribute(String numberCountryValue)
      Sets the value of ODFDOM attribute representation NumberCountryAttribute , See @number:country
      Parameters:
      numberCountryValue - The type is String
    • getNumberLanguageAttribute

      public String getNumberLanguageAttribute()
      Receives the value of the ODFDOM attribute representation NumberLanguageAttribute , See @number:language
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setNumberLanguageAttribute

      public void setNumberLanguageAttribute(String numberLanguageValue)
      Sets the value of ODFDOM attribute representation NumberLanguageAttribute , See @number:language
      Parameters:
      numberLanguageValue - The type is String
    • getNumberRfcLanguageTagAttribute

      public String getNumberRfcLanguageTagAttribute()
      Receives the value of the ODFDOM attribute representation NumberRfcLanguageTagAttribute , See @number:rfc-language-tag
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setNumberRfcLanguageTagAttribute

      public void setNumberRfcLanguageTagAttribute(String numberRfcLanguageTagValue)
      Sets the value of ODFDOM attribute representation NumberRfcLanguageTagAttribute , See @number:rfc-language-tag
      Parameters:
      numberRfcLanguageTagValue - The type is String
    • getNumberScriptAttribute

      public String getNumberScriptAttribute()
      Receives the value of the ODFDOM attribute representation NumberScriptAttribute , See @number:script
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setNumberScriptAttribute

      public void setNumberScriptAttribute(String numberScriptValue)
      Sets the value of ODFDOM attribute representation NumberScriptAttribute , See @number:script
      Parameters:
      numberScriptValue - 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
    • newTextNode

      public void newTextNode(String content)
      Add text content. Only elements which are allowed to have text content offer this method.