Enum Class FieldDataFormat

java.lang.Object
java.lang.Enum<FieldDataFormat>
io.scanbot.sdk.genericdocument.FieldDataFormat
All Implemented Interfaces:
Serializable, Comparable<FieldDataFormat>, Constable

public enum FieldDataFormat extends Enum<FieldDataFormat>
Type of parsing applied to field.
  • Enum Constant Details

    • ISO_DATE

      public static final FieldDataFormat ISO_DATE
      Field value is parsed as ISO 8601 date in format YYYY-MM-DD.
    • ISO_COUNTRY_ALPHA_2

      public static final FieldDataFormat 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

      public static final FieldDataFormat ISO_COUNTRY_ALPHA_3
      Field value is parsed as ISO 3166-1 alpha-3 country code. E.g. "DEU" for Germany.
    • ISO_COUNTRY_NUMERIC

      public static final FieldDataFormat ISO_COUNTRY_NUMERIC
      Field value is parsed as ISO 3166-1 numeric country code. E.g. "276" for Germany.
    • ISO_COUNTRY_NAME

      public static final FieldDataFormat ISO_COUNTRY_NAME
      Field value is parsed as ISO 3166-1 country name. E.g. "Germany".
    • GENDER

      public static final FieldDataFormat GENDER
      Field value is parsed as "Male", "Female".
  • Method Details

    • values

      public static FieldDataFormat[] 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

      public static FieldDataFormat valueOf(String name)
      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 name
      NullPointerException - if the argument is null