Package io.scanbot.sdk.genericdocument
Enum Class FieldDataFormat
- All Implemented Interfaces:
Serializable,Comparable<FieldDataFormat>,Constable
Type of parsing applied to field.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionField value is parsed as "Male", "Female".Field value is parsed as ISO 3166-1 alpha-2 country code.Field value is parsed as ISO 3166-1 alpha-3 country code.Field value is parsed as ISO 3166-1 country name.Field value is parsed as ISO 3166-1 numeric country code.Field value is parsed as ISO 8601 date in format YYYY-MM-DD. -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldDataFormatReturns the enum constant of this class with the specified name.static FieldDataFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ISO_DATE
Field value is parsed as ISO 8601 date in format YYYY-MM-DD. -
ISO_COUNTRY_ALPHA_2
Field value is parsed as ISO 3166-1 alpha-2 country code. E.g. "DE" for Germany. -
ISO_COUNTRY_ALPHA_3
Field value is parsed as ISO 3166-1 alpha-3 country code. E.g. "DEU" for Germany. -
ISO_COUNTRY_NUMERIC
Field value is parsed as ISO 3166-1 numeric country code. E.g. "276" for Germany. -
ISO_COUNTRY_NAME
Field value is parsed as ISO 3166-1 country name. E.g. "Germany". -
GENDER
Field value is parsed as "Male", "Female".
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-