Class DbTableSettingElement

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

public class DbTableSettingElement extends OdfElement
DOM implementation of OpenDocument element <db:table-setting>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DbTableSettingElement

      public DbTableSettingElement(OdfFileDom ownerDoc)
      Create the instance of DbTableSettingElement
      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 <db:table-setting>.
    • getDbIsFirstRowHeaderLineAttribute

      public Boolean getDbIsFirstRowHeaderLineAttribute()
      Receives the value of the ODFDOM attribute representation DbIsFirstRowHeaderLineAttribute , See @db:is-first-row-header-line
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbIsFirstRowHeaderLineAttribute

      public void setDbIsFirstRowHeaderLineAttribute(Boolean dbIsFirstRowHeaderLineValue)
      Sets the value of ODFDOM attribute representation DbIsFirstRowHeaderLineAttribute , See @db:is-first-row-header-line
      Parameters:
      dbIsFirstRowHeaderLineValue - The type is Boolean
    • getDbShowDeletedAttribute

      public Boolean getDbShowDeletedAttribute()
      Receives the value of the ODFDOM attribute representation DbShowDeletedAttribute , See @db:show-deleted
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDbShowDeletedAttribute

      public void setDbShowDeletedAttribute(Boolean dbShowDeletedValue)
      Sets the value of ODFDOM attribute representation DbShowDeletedAttribute , See @db:show-deleted
      Parameters:
      dbShowDeletedValue - The type is Boolean
    • newDbCharacterSetElement

      public DbCharacterSetElement newDbCharacterSetElement()
      Create child element <db:character-set>.

      Child element was added in ODF 1.2

      Returns:
      the element <db:character-set>
    • newDbDelimiterElement

      public DbDelimiterElement newDbDelimiterElement()
      Create child element <db:delimiter>.

      Child element was added in ODF 1.2

      Returns:
      the element <db:delimiter>
    • 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