DocumentListItem Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. DocumentListItem
- com.
Implements
public final class DocumentListItem
implements JsonSerializable<DocumentListItem>
An object representing a list item in the document.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
|
List<Bounding |
getBoundingRegions()
Get the bounding |
| String |
getContent()
Get the content property: Content of the list item. |
| List<String> |
getElements()
Get the elements property: Child elements of the list item. |
| int |
getLevel()
Get the level property: Level of the list item (1-indexed). |
|
List<Document |
getSpans()
Get the spans property: Location of the list item in the reading order concatenated content. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentListItem fromJson(JsonReader jsonReader)
Reads an instance of DocumentListItem from the JsonReader.
Parameters:
Returns:
Throws:
getBoundingRegions
public List<BoundingRegion> getBoundingRegions()
Get the boundingRegions property: Bounding regions covering the list item.
Returns:
getContent
public String getContent()
Get the content property: Content of the list item.
Returns:
getElements
public List<String> getElements()
Get the elements property: Child elements of the list item.
Returns:
getLevel
public int getLevel()
Get the level property: Level of the list item (1-indexed).
Returns:
getSpans
public List<DocumentSpan> getSpans()
Get the spans property: Location of the list item in the reading order concatenated content.
Returns: