Class TableTitle

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

public class TableTitle
extends com.ibm.cloud.sdk.core.service.model.GenericModel
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.
  • Constructor Summary

    Constructors
    Constructor Description
    TableTitle()  
  • Method Summary

    Modifier and Type Method Description
    Location getLocation()
    Gets the location.
    String getText()
    Gets the text.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TableTitle

      public TableTitle()
  • 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 text of the identified table title or caption.

      Returns:
      the text