Class TableNamedRangeElement

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

public class TableNamedRangeElement extends OdfElement
DOM implementation of OpenDocument element <table:named-range>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TableNamedRangeElement

      public TableNamedRangeElement(OdfFileDom ownerDoc)
      Create the instance of TableNamedRangeElement
      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 <table:named-range>.
    • getTableBaseCellAddressAttribute

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

      public void setTableBaseCellAddressAttribute(String tableBaseCellAddressValue)
      Sets the value of ODFDOM attribute representation TableBaseCellAddressAttribute , See @table:base-cell-address
      Parameters:
      tableBaseCellAddressValue - The type is String
    • getTableCellRangeAddressAttribute

      public String getTableCellRangeAddressAttribute()
      Receives the value of the ODFDOM attribute representation TableCellRangeAddressAttribute , See @table:cell-range-address

      Attribute is mandatory.

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

      public void setTableCellRangeAddressAttribute(String tableCellRangeAddressValue)
      Sets the value of ODFDOM attribute representation TableCellRangeAddressAttribute , See @table:cell-range-address
      Parameters:
      tableCellRangeAddressValue - The type is String
    • getTableNameAttribute

      public String getTableNameAttribute()
      Receives the value of the ODFDOM attribute representation TableNameAttribute , See @table:name

      Attribute is mandatory.

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

      public void setTableNameAttribute(String tableNameValue)
      Sets the value of ODFDOM attribute representation TableNameAttribute , See @table:name
      Parameters:
      tableNameValue - The type is String
    • getTableRangeUsableAsAttribute

      public String getTableRangeUsableAsAttribute()
      Receives the value of the ODFDOM attribute representation TableRangeUsableAsAttribute , See @table:range-usable-as
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableRangeUsableAsAttribute

      public void setTableRangeUsableAsAttribute(String tableRangeUsableAsValue)
      Sets the value of ODFDOM attribute representation TableRangeUsableAsAttribute , See @table:range-usable-as
      Parameters:
      tableRangeUsableAsValue - 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