public class StringValue extends FieldValue<String>
FieldValue.getValueString()
Constructor and Description |
---|
StringValue(String text,
BoundingBox boundingBox,
String valueString,
int pageNumber)
Constructs a StringValue.
|
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, setElements
public StringValue(String text, BoundingBox boundingBox, String valueString, int pageNumber)
text
- The text content of the extracted field.boundingBox
- Bounding box of the field value.valueString
- String value.pageNumber
- The page number on which this field exists.public int getPageNumber()
getPageNumber
in class FieldValue<String>
public BoundingBox getBoundingBox()
getBoundingBox
in class RawItem
public 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.