public class TimeValue extends FieldValue<String>
FieldValue.getValueTime()| Constructor and Description |
|---|
TimeValue(String text,
BoundingBox boundingBox,
String valueTime,
int pageNumber)
Constructs a Time Value.
|
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
getBoundingBox()
BoundingBox property of the element.
|
Float |
getConfidence()
Get the confidence property: Confidence score.
|
List<Element> |
getElements()
Get the elements property: When includeTextDetails is set to true, a
list of references to the text elements constituting this field.
|
int |
getPageNumber()
Get the 1-based page number in the input document.
|
String |
getText()
The text of the extracted item.
|
FieldValueType |
getType()
Gets the
type the field value. |
String |
getValue()
Gets the field value.
|
setConfidence, setElementspublic TimeValue(String text, BoundingBox boundingBox, String valueTime, int pageNumber)
text - The text content of the extracted field.boundingBox - Bounding box of the field value.valueTime - Time value.pageNumber - The page number on which this field exists.public int getPageNumber()
getPageNumber in class FieldValue<String>public BoundingBox getBoundingBox()
getBoundingBox in class RawItempublic String getText()
public String getValue()
getValue in class FieldValue<String>public FieldValueType getType()
type the field value.getType in class FieldValue<String>type the field value.public List<Element> getElements()
getElements in class FieldValue<String>public Float getConfidence()
getConfidence in class FieldValue<String>Copyright © 2020 Microsoft Corporation. All rights reserved.