Class TableContentValidationElement

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

public class TableContentValidationElement extends OdfElement
DOM implementation of OpenDocument element <table:content-validation>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TableContentValidationElement

      public TableContentValidationElement(OdfFileDom ownerDoc)
      Create the instance of TableContentValidationElement
      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:content-validation>.
    • getTableAllowEmptyCellAttribute

      public Boolean getTableAllowEmptyCellAttribute()
      Receives the value of the ODFDOM attribute representation TableAllowEmptyCellAttribute , See @table:allow-empty-cell
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTableAllowEmptyCellAttribute

      public void setTableAllowEmptyCellAttribute(Boolean tableAllowEmptyCellValue)
      Sets the value of ODFDOM attribute representation TableAllowEmptyCellAttribute , See @table:allow-empty-cell
      Parameters:
      tableAllowEmptyCellValue - The type is Boolean
    • 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
    • getTableConditionAttribute

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

      public void setTableConditionAttribute(String tableConditionValue)
      Sets the value of ODFDOM attribute representation TableConditionAttribute , See @table:condition
      Parameters:
      tableConditionValue - The type is String
    • getTableDisplayListAttribute

      public String getTableDisplayListAttribute()
      Receives the value of the ODFDOM attribute representation TableDisplayListAttribute , See @table:display-list
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableDisplayListAttribute

      public void setTableDisplayListAttribute(String tableDisplayListValue)
      Sets the value of ODFDOM attribute representation TableDisplayListAttribute , See @table:display-list
      Parameters:
      tableDisplayListValue - 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
    • newOfficeEventListenersElement

      public OfficeEventListenersElement newOfficeEventListenersElement()
      Create child element <office:event-listeners>.
      Returns:
      the element <office:event-listeners>
    • newTableErrorMacroElement

      public TableErrorMacroElement newTableErrorMacroElement()
      Create child element <table:error-macro>.
      Returns:
      the element <table:error-macro>
    • newTableErrorMessageElement

      public TableErrorMessageElement newTableErrorMessageElement()
      Create child element <table:error-message>.
      Returns:
      the element <table:error-message>
    • newTableHelpMessageElement

      public TableHelpMessageElement newTableHelpMessageElement()
      Create child element <table:help-message>.
      Returns:
      the element <table:help-message>
    • 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