Class Contexts
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.compare_comply.v1.model.Contexts
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Contexts
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Text that is related to the contents of the table and that precedes or follows the current table.
-
Constructor Summary
Constructors Constructor Description Contexts()
-
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
-
Constructor Details
-
Contexts
public Contexts()
-
-
Method Details
-
getText
Gets the text.The related text.
- Returns:
- the text
-
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
-