DocumentFieldType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. documentintelligence. models. DocumentFieldType
- com.
- com.
public final class DocumentFieldType
extends ExpandableStringEnum<DocumentFieldType>
Semantic data type of the field value.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Document |
ADDRESS
Parsed address. |
static final
Document |
ARRAY
List of subfields of the same type. |
static final
Document |
BOOLEAN
Boolean value, normalized to true or false. |
static final
Document |
COUNTRY_REGION
Country/region, normalized to ISO 3166-1 alpha-3 format (ex. |
static final
Document |
CURRENCY
Currency amount with optional currency symbol and unit. |
static final
Document |
DATE
Date, normalized to ISO 8601 (YYYY-MM-DD) format. |
static final
Document |
INTEGER
Integer number, normalized to 64-bit signed integer. |
static final
Document |
NUMBER
Floating point number, normalized to double precision floating point. |
static final
Document |
OBJECT
Named list of subfields of potentially different types. |
static final
Document |
PHONE_NUMBER
Phone number, normalized to E.164 (+{Country |
static final
Document |
SELECTION_GROUP
Array of selected string values. |
static final
Document |
SELECTION_MARK
Is field selected?. |
static final
Document |
SIGNATURE
Is signature present?. |
static final
Document |
STRING
Plain text. |
static final
Document |
TIME
Time, normalized to ISO 8601 (hh:mm:ss) format. |
Constructor Summary
Constructor | Description |
---|---|
DocumentFieldType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Document |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Document |
fromString(String name)
Creates or finds a Document |
static
Collection<Document |
values()
Gets known Document |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ADDRESS
public static final DocumentFieldType ADDRESS
Parsed address.
ARRAY
public static final DocumentFieldType ARRAY
List of subfields of the same type.
BOOLEAN
public static final DocumentFieldType BOOLEAN
Boolean value, normalized to true or false.
COUNTRY_REGION
public static final DocumentFieldType COUNTRY_REGION
Country/region, normalized to ISO 3166-1 alpha-3 format (ex. USA).
CURRENCY
public static final DocumentFieldType CURRENCY
Currency amount with optional currency symbol and unit.
DATE
public static final DocumentFieldType DATE
Date, normalized to ISO 8601 (YYYY-MM-DD) format.
INTEGER
public static final DocumentFieldType INTEGER
Integer number, normalized to 64-bit signed integer.
NUMBER
public static final DocumentFieldType NUMBER
Floating point number, normalized to double precision floating point.
OBJECT
public static final DocumentFieldType OBJECT
Named list of subfields of potentially different types.
PHONE_NUMBER
public static final DocumentFieldType PHONE_NUMBER
Phone number, normalized to E.164 (+{CountryCode}{SubscriberNumber}) format.
SELECTION_GROUP
public static final DocumentFieldType SELECTION_GROUP
Array of selected string values.
SELECTION_MARK
public static final DocumentFieldType SELECTION_MARK
Is field selected?.
SIGNATURE
public static final DocumentFieldType SIGNATURE
Is signature present?.
STRING
public static final DocumentFieldType STRING
Plain text.
TIME
public static final DocumentFieldType TIME
Time, normalized to ISO 8601 (hh:mm:ss) format.
Constructor Details
DocumentFieldType
@Deprecated
public DocumentFieldType()
Deprecated
Creates a new instance of DocumentFieldType value.
Method Details
fromString
public static DocumentFieldType fromString(String name)
Creates or finds a DocumentFieldType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known DocumentFieldType values.
Returns:
Applies to
Azure SDK for Java