public class ElementPair
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
ElementPair() |
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
getAttributes()
Gets the attributes.
|
List<CategoryComparison> |
getCategories()
Gets the categories.
|
String |
getDocumentLabel()
Gets the documentLabel.
|
Location |
getLocation()
Gets the location.
|
String |
getText()
Gets the text.
|
List<TypeLabelComparison> |
getTypes()
Gets the types.
|
public String getDocumentLabel()
The label of the document (that is, the value of either the `file_1_label` or `file_2_label` parameters) in which the element occurs.
public String getText()
The contents of the element.
public Location getLocation()
The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.
public List<TypeLabelComparison> getTypes()
Description of the action specified by the element and whom it affects.
public List<CategoryComparison> getCategories()
List of functional categories into which the element falls; in other words, the subject matter of the element.
Copyright © 2021 IBM Cloud. All rights reserved.