Class DocumentField
java.lang.Object
com.azure.ai.formrecognizer.documentanalysis.models.TypedDocumentField<Object>
com.azure.ai.formrecognizer.documentanalysis.models.DocumentField
Model representing the content and location of a field value.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet address value of the field.Get boolean value of the field.Get the 3-letter country code value (ISO 3166-1 alpha-3).Get the Currency value.Get the date value in YYYY-MM-DD format (ISO 8601).Get the double/floating point value of the field.Get the array of field values.Get the long value of the field.Get the map of named field values.Get the phone number value in E.164 format (ex.Get the selection mark value.Get the presence of signature type.Get the string value of the field.Get the time value in hh:mm:ss format (ISO 8601).Methods inherited from class com.azure.ai.formrecognizer.documentanalysis.models.TypedDocumentField
getBoundingRegions, getConfidence, getContent, getSpans, getType, getValue
-
Constructor Details
-
DocumentField
public DocumentField()
-
-
Method Details
-
getValueAsString
Get the string value of the field.- Returns:
- the value.
-
getValueAsDate
Get the date value in YYYY-MM-DD format (ISO 8601).- Returns:
- the value.
-
getValueAsTime
Get the time value in hh:mm:ss format (ISO 8601).- Returns:
- the value.
-
getValueAsPhoneNumber
Get the phone number value in E.164 format (ex. +19876543210).- Returns:
- the value.
-
getValueAsDouble
Get the double/floating point value of the field.- Returns:
- the value.
-
getValueAsLong
Get the long value of the field.- Returns:
- the value.
-
getValueAsSelectionMark
Get the selection mark value.- Returns:
- the value.
-
getValueAsSignature
Get the presence of signature type.- Returns:
- the value.
-
getValueAsCountry
Get the 3-letter country code value (ISO 3166-1 alpha-3).- Returns:
- the value.
-
getValueAsList
Get the array of field values.- Returns:
- the value.
-
getValueAsMap
Get the map of named field values.- Returns:
- the value.
-
getValueAsCurrency
Get the Currency value.- Returns:
- the value.
-
getValueAsAddress
Get address value of the field.- Returns:
- the value.
-
getValueAsBoolean
Get boolean value of the field.- Returns:
- the value.
-