public class SectionTitles
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ElementLocations> |
elementLocations |
protected java.lang.Long |
level |
protected Location |
location |
protected java.lang.String |
text |
Constructor and Description |
---|
SectionTitles() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ElementLocations> |
getElementLocations()
Gets the elementLocations.
|
java.lang.Long |
getLevel()
Gets the level.
|
Location |
getLocation()
Gets the location.
|
java.lang.String |
getText()
Gets the text.
|
protected java.lang.String text
protected Location location
protected java.lang.Long level
@SerializedName(value="element_locations") protected java.util.List<ElementLocations> elementLocations
public java.lang.String getText()
The text of the section title, if identified.
public Location getLocation()
The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.
public java.lang.Long getLevel()
An integer indicating the level at which the section is located in the input document. For example, `1` represents a top-level section, `2` represents a subsection within the level `1` section, and so forth.
public java.util.List<ElementLocations> getElementLocations()
An array of `location` objects that lists the locations of detected section titles.