FieldData Class
- java.
lang. Object - com.
azure. ai. formrecognizer. models. FormElement - com.
azure. ai. formrecognizer. models. FieldData
- com.
- com.
public final class FieldData
extends FormElement
The FieldData model.
Constructor Summary
Constructor | Description |
---|---|
FieldData(String text, FieldBoundingBox boundingBox, int pageNumber, List<FormElement> fieldElements) |
Creates raw OCR Field |
Method Summary
Modifier and Type | Method and Description |
---|---|
Field |
getBoundingBox()
Bounding |
List<Form |
getFieldElements()
When `include |
int |
getPageNumber()
Get the 1-based page number in the input document. |
String |
getText()
The text content of the form element. |
Methods inherited from FormElement
Methods inherited from java.lang.Object
Constructor Details
FieldData
public FieldData(String text, FieldBoundingBox boundingBox, int pageNumber, List
Creates raw OCR FieldData item.
Parameters:
Method Details
getBoundingBox
public FieldBoundingBox getBoundingBox()
BoundingBox property of the element.
Overrides:
FieldData.getBoundingBox()getFieldElements
public List
When `includeFieldElements` is set to true, gets a list of reference elements constituting this FieldData
.
Returns:
FieldData
.getPageNumber
public int getPageNumber()
Get the 1-based page number in the input document.
Overrides:
FieldData.getPageNumber()getText
public String getText()
The text content of the form element.
Overrides:
FieldData.getText()