DocumentKeyValueElement Class

  • java.lang.Object
    • com.azure.ai.formrecognizer.documentanalysis.models.DocumentKeyValueElement

public final class DocumentKeyValueElement

An object representing the field key or value in a key-value pair.

Constructor Summary

Constructor Description
DocumentKeyValueElement()

Constructs a DocumentKeyValueElement object.

Method Summary

Modifier and Type Method and Description
List<BoundingRegion> getBoundingRegions()

Get the boundingRegions property: Bounding regions covering the key-value element.

String getContent()

Get the content property: Concatenated content of the key-value element in reading order.

List<DocumentSpan> getSpans()

Get the spans property: Location of the key-value element in the reading order concatenated content.

Methods inherited from java.lang.Object

Constructor Details

DocumentKeyValueElement

public DocumentKeyValueElement()

Constructs a DocumentKeyValueElement object.

Method Details

getBoundingRegions

public List getBoundingRegions()

Get the boundingRegions property: Bounding regions covering the key-value element.

Returns:

the boundingRegions value.

getContent

public String getContent()

Get the content property: Concatenated content of the key-value element in reading order.

Returns:

the content value.

getSpans

public List getSpans()

Get the spans property: Location of the key-value element in the reading order concatenated content.

Returns:

the spans value.

Applies to