Class StyleMapElement

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

public class StyleMapElement extends OdfElement
DOM implementation of OpenDocument element <style:map>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • StyleMapElement

      public StyleMapElement(OdfFileDom ownerDoc)
      Create the instance of StyleMapElement
      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 <style:map>.
    • getStyleApplyStyleNameAttribute

      public String getStyleApplyStyleNameAttribute()
      Receives the value of the ODFDOM attribute representation StyleApplyStyleNameAttribute , See @style:apply-style-name

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleApplyStyleNameAttribute

      public void setStyleApplyStyleNameAttribute(String styleApplyStyleNameValue)
      Sets the value of ODFDOM attribute representation StyleApplyStyleNameAttribute , See @style:apply-style-name
      Parameters:
      styleApplyStyleNameValue - The type is String
    • getStyleBaseCellAddressAttribute

      public String getStyleBaseCellAddressAttribute()
      Receives the value of the ODFDOM attribute representation StyleBaseCellAddressAttribute , See @style:base-cell-address
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleBaseCellAddressAttribute

      public void setStyleBaseCellAddressAttribute(String styleBaseCellAddressValue)
      Sets the value of ODFDOM attribute representation StyleBaseCellAddressAttribute , See @style:base-cell-address
      Parameters:
      styleBaseCellAddressValue - The type is String
    • getStyleConditionAttribute

      public String getStyleConditionAttribute()
      Receives the value of the ODFDOM attribute representation StyleConditionAttribute , See @style:condition

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleConditionAttribute

      public void setStyleConditionAttribute(String styleConditionValue)
      Sets the value of ODFDOM attribute representation StyleConditionAttribute , See @style:condition
      Parameters:
      styleConditionValue - 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