java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.compare_comply.v1.model.Tables
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class Tables
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The contents of the tables extracted from a document.
  • Constructor Details

    • Tables

      public Tables()
  • Method Details

    • getLocation

      public Location getLocation()
      Gets the location.

      The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.

      Returns:
      the location
    • getText

      public String getText()
      Gets the text.

      The textual contents of the current table from the input document without associated markup content.

      Returns:
      the text
    • getSectionTitle

      public SectionTitle getSectionTitle()
      Gets the sectionTitle.

      The table's section title, if identified.

      Returns:
      the sectionTitle
    • getTitle

      public TableTitle getTitle()
      Gets the title.

      If identified, the title or caption of the current table of the form `Table x.: ...`. Empty when no title is identified. When exposed, the `title` is also excluded from the `contexts` array of the same table.

      Returns:
      the title
    • getTableHeaders

      public List<TableHeaders> getTableHeaders()
      Gets the tableHeaders.

      An array of table-level cells that apply as headers to all the other cells in the current table.

      Returns:
      the tableHeaders
    • getRowHeaders

      public List<RowHeaders> getRowHeaders()
      Gets the rowHeaders.

      An array of row-level cells, each applicable as a header to other cells in the same row as itself, of the current table.

      Returns:
      the rowHeaders
    • getColumnHeaders

      public List<ColumnHeaders> getColumnHeaders()
      Gets the columnHeaders.

      An array of column-level cells, each applicable as a header to other cells in the same column as itself, of the current table.

      Returns:
      the columnHeaders
    • getBodyCells

      public List<BodyCells> getBodyCells()
      Gets the bodyCells.

      An array of cells that are neither table header nor column header nor row header cells, of the current table with corresponding row and column header associations.

      Returns:
      the bodyCells
    • getContexts

      public List<Contexts> getContexts()
      Gets the contexts.

      An array of objects that list text that is related to the table contents and that precedes or follows the current table.

      Returns:
      the contexts
    • getKeyValuePairs

      public List<KeyValuePair> getKeyValuePairs()
      Gets the keyValuePairs.

      An array of key-value pairs identified in the current table.

      Returns:
      the keyValuePairs