public class Contexts
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Field and Description | 
|---|---|
protected Location | 
location  | 
protected java.lang.String | 
text  | 
| Constructor and Description | 
|---|
Contexts()  | 
| Modifier and Type | Method and Description | 
|---|---|
Location | 
getLocation()
Gets the location. 
 | 
java.lang.String | 
getText()
Gets the text. 
 | 
protected java.lang.String text
protected Location location
public java.lang.String getText()
The related text.
public Location getLocation()
The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.