public final class FormField extends Object
Constructor and Description |
---|
FormField(String name,
FieldData labelData,
FieldData valueData,
FieldValue value,
float confidence)
Constructs a FormField object.
|
Modifier and Type | Method and Description |
---|---|
float |
getConfidence()
Get the estimated confidence value of the recognized field.
|
FieldData |
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.
|
FieldValue |
getValue()
Get the value of the recognized field.
|
FieldData |
getValueData()
Get the text, bounding box, and field elements for the field value.
|
public FormField(String name, FieldData labelData, FieldData valueData, FieldValue value, float confidence)
name
- The name the field or label.labelData
- The text, bounding box, and field elements for the field label.valueData
- The text, bounding box, and field elements for the field value.value
- The value of the recognized field.confidence
- The confidence of the recognized field.public float getConfidence()
public FieldData getLabelData()
public String getName()
public FieldValue getValue()
public FieldData getValueData()
Copyright © 2021. All rights reserved.