eu.id3.document

## Enum MrzType

- java.lang.Object
- - java.lang.Enum<MrzType>
  - - eu.id3.document.MrzType

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MrzType>

      public enum MrzType
      extends java.lang.Enum<MrzType>

  Enumerates supported MRZ types.

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and Description
    `DRIVING_LICENSE` Driving licence (ISO-18013) - 1x30 line MRZ.
    `FRENCH_ID` Old french ID card (PRADO FRA-BO-02002). 2x36 lines MRZ.
    `MRV_A` Visa format A (ICAO 9303-7) - 2x44 lines MRZ.
    `MRV_B` Visa format B (ICAO 9303-7) - 2x36 lines MRZ.
    `NONE` No MRZ.
    `OTHER` Other MRZ Type, with a standard layout but unknown content.
    `TD1` Document TD1 (ICAO 9303-5) - 3x30 lines MRZ.
    `TD2` Document TD2 (ICAO 9303-6) - 2x36 lines MRZ.
    `TD3` Document TD3 (Passports)(ICAO 9303-4) - 2x44 lines MRZ.

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static MrzType` | `fromValue(int value)` Creates an enumeration value from int.
    `int` | `getValue()` Gets the enumeration value as int.
    `static MrzType` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static MrzType[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

    - ### Methods inherited from class java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### NONE

          public static final MrzType NONE

      No MRZ. Default value.

    - #### TD1

          public static final MrzType TD1

      Document TD1 (ICAO 9303-5) - 3x30 lines MRZ.

    - #### TD2

          public static final MrzType TD2

      Document TD2 (ICAO 9303-6) - 2x36 lines MRZ.

    - #### TD3

          public static final MrzType TD3

      Document TD3 (Passports)(ICAO 9303-4) - 2x44 lines MRZ.

    - #### DRIVING_LICENSE

          public static final MrzType DRIVING_LICENSE

      Driving licence (ISO-18013) - 1x30 line MRZ.

    - #### MRV_A

          public static final MrzType MRV_A

      Visa format A (ICAO 9303-7) - 2x44 lines MRZ.

    - #### MRV_B

          public static final MrzType MRV_B

      Visa format B (ICAO 9303-7) - 2x36 lines MRZ.

    - #### OTHER

          public static final MrzType OTHER

      Other MRZ Type, with a standard layout but unknown content.

    - #### FRENCH_ID

          public static final MrzType FRENCH_ID

      Old french ID card (PRADO FRA-BO-02002). 2x36 lines MRZ.

  - ### Method Detail

    - #### values

          public static MrzType[] values()

      Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

          for (MrzType c : MrzType.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static MrzType valueOf(java.lang.String name)

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
        `java.lang.NullPointerException` - if the argument is null

    - #### getValue

          public int getValue()

      Gets the enumeration value as int.
      Returns:
        The value.

    - #### fromValue

          public static MrzType fromValue(int value)

      Creates an enumeration value from int.
      Parameters:
        `value` - The int value.
      Returns:
        The created MrzType.

Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.document