DocumentList Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. DocumentList
- com.
Implements
public final class DocumentList
implements JsonSerializable<DocumentList>
An object representing a list in the document.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
|
List<Document |
getItems()
Get the items property: Items in the list. |
|
List<Document |
getSpans()
Get the spans property: Location of the list in the reading order concatenated content. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentList fromJson(JsonReader jsonReader)
Reads an instance of DocumentList from the JsonReader.
Parameters:
Returns:
Throws:
getItems
public List<DocumentListItem> getItems()
Get the items property: Items in the list.
Returns:
getSpans
public List<DocumentSpan> getSpans()
Get the spans property: Location of the list in the reading order concatenated content.
Returns: