FormField Class
- java.
lang. Object - com.
azure. ai. formrecognizer. models. FormField
- com.
public final class FormField
Represents a field recognized in an input document.
Constructor Summary
Constructor | Description |
---|---|
FormField(String name, FieldData labelData, FieldData valueData, FieldValue value, float confidence) |
Constructs a Form |
Method Summary
Modifier and Type | Method and Description |
---|---|
float |
getConfidence()
Get the estimated confidence value of the recognized field. |
Field |
getLabelData()
Get the text, bounding box, and field elements for the field label. |
String |
getName()
Get the name of the field in the provided document. |
Field |
getValue()
Get the value of the recognized field. |
Field |
getValueData()
Get the text, bounding box, and field elements for the field value. |
Methods inherited from java.lang.Object
Constructor Details
FormField
public FormField(String name, FieldData labelData, FieldData valueData, FieldValue value, float confidence)
Constructs a FormField object.
Parameters:
Method Details
getConfidence
public float getConfidence()
Get the estimated confidence value of the recognized field.
Returns:
getLabelData
public FieldData getLabelData()
Get the text, bounding box, and field elements for the field label.
Returns:
getName
public String getName()
Get the name of the field in the provided document.
Returns:
getValue
public FieldValue getValue()
Get the value of the recognized field.
Returns:
getValueData
public FieldData getValueData()
Get the text, bounding box, and field elements for the field value.
Returns:
Applies to
Azure SDK for Java