Class TableFilterElement

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

public class TableFilterElement extends OdfElement
DOM implementation of OpenDocument element <table:filter>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TableFilterElement

      public TableFilterElement(OdfFileDom ownerDoc)
      Create the instance of TableFilterElement
      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:filter>.
    • getTableConditionSourceAttribute

      public String getTableConditionSourceAttribute()
      Receives the value of the ODFDOM attribute representation TableConditionSourceAttribute , See @table:condition-source
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableConditionSourceAttribute

      public void setTableConditionSourceAttribute(String tableConditionSourceValue)
      Sets the value of ODFDOM attribute representation TableConditionSourceAttribute , See @table:condition-source
      Parameters:
      tableConditionSourceValue - The type is String
    • getTableConditionSourceRangeAddressAttribute

      public String getTableConditionSourceRangeAddressAttribute()
      Receives the value of the ODFDOM attribute representation TableConditionSourceRangeAddressAttribute , See @table:condition-source-range-address
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableConditionSourceRangeAddressAttribute

      public void setTableConditionSourceRangeAddressAttribute(String tableConditionSourceRangeAddressValue)
      Sets the value of ODFDOM attribute representation TableConditionSourceRangeAddressAttribute , See @table:condition-source-range-address
      Parameters:
      tableConditionSourceRangeAddressValue - The type is String
    • getTableDisplayDuplicatesAttribute

      public Boolean getTableDisplayDuplicatesAttribute()
      Receives the value of the ODFDOM attribute representation TableDisplayDuplicatesAttribute , See @table:display-duplicates
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTableDisplayDuplicatesAttribute

      public void setTableDisplayDuplicatesAttribute(Boolean tableDisplayDuplicatesValue)
      Sets the value of ODFDOM attribute representation TableDisplayDuplicatesAttribute , See @table:display-duplicates
      Parameters:
      tableDisplayDuplicatesValue - The type is Boolean
    • getTableTargetRangeAddressAttribute

      public String getTableTargetRangeAddressAttribute()
      Receives the value of the ODFDOM attribute representation TableTargetRangeAddressAttribute , See @table:target-range-address
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableTargetRangeAddressAttribute

      public void setTableTargetRangeAddressAttribute(String tableTargetRangeAddressValue)
      Sets the value of ODFDOM attribute representation TableTargetRangeAddressAttribute , See @table:target-range-address
      Parameters:
      tableTargetRangeAddressValue - The type is String
    • newTableFilterAndElement

      public TableFilterAndElement newTableFilterAndElement()
      Create child element <table:filter-and>.
      Returns:
      the element <table:filter-and>
    • newTableFilterConditionElement

      public TableFilterConditionElement newTableFilterConditionElement(int tableFieldNumberValue, String tableOperatorValue, String tableValueValue)
      Create child element <table:filter-condition>.
      Parameters:
      tableFieldNumberValue - the Integer value of TableFieldNumberAttribute , see @table:field-number at specification
      tableOperatorValue - the String value of TableOperatorAttribute, see @table:operator at specification
      tableValueValue - the String value of TableValueAttribute, see @table:value at specification
      Returns:
      the element <table:filter-condition>
    • newTableFilterOrElement

      public TableFilterOrElement newTableFilterOrElement()
      Create child element <table:filter-or>.
      Returns:
      the element <table:filter-or>
    • 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