DocumentKeyValueElement Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. DocumentKeyValueElement
- com.
Implements
public final class DocumentKeyValueElement
implements JsonSerializable<DocumentKeyValueElement>
An object representing the field key or value in a key-value pair.
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: Concatenated content of the key-value element in reading order. |
List<Document |
getSpans()
Get the spans property: Location of the key-value element in the reading order concatenated content. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentKeyValueElement fromJson(JsonReader jsonReader)
Reads an instance of DocumentKeyValueElement from the JsonReader.
Parameters:
Returns:
Throws:
getBoundingRegions
public List
Get the boundingRegions property: Bounding regions covering the key-value element.
Returns:
getContent
public String getContent()
Get the content property: Concatenated content of the key-value element in reading order.
Returns:
getSpans
public List
Get the spans property: Location of the key-value element in the reading order concatenated content.
Returns: