Enum MrtdDocumentType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MrtdDocumentType>

    public enum MrtdDocumentType
    extends java.lang.Enum<MrtdDocumentType>
    Supported MRTD document types
    • Enum Constant Detail

      • MRTD_TYPE_IDENTITY_CARD

        public static final MrtdDocumentType MRTD_TYPE_IDENTITY_CARD
        Identity card
      • MRTD_TYPE_PASSPORT

        public static final MrtdDocumentType MRTD_TYPE_PASSPORT
        Passport
      • MRTD_TYPE_GREEN_CARD

        public static final MrtdDocumentType MRTD_TYPE_GREEN_CARD
        US Green Card
      • MRTD_TYPE_MYS_PASS_IMM13P

        public static final MrtdDocumentType MRTD_TYPE_MYS_PASS_IMM13P
        Malaysian PASS type IMM13P
      • MRTD_TYPE_DL

        public static final MrtdDocumentType MRTD_TYPE_DL
        Single line ISO Driving licence
      • MRTD_TYPE_INTERNAL_TRAVEL_DOCUMENT

        public static final MrtdDocumentType MRTD_TYPE_INTERNAL_TRAVEL_DOCUMENT
        China mainland travel permit
      • MRTD_TYPE_BORDER_CROSSING_CARD

        public static final MrtdDocumentType MRTD_TYPE_BORDER_CROSSING_CARD
        Border crossing card
    • Method Detail

      • values

        public static MrtdDocumentType[] 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 (MrtdDocumentType c : MrtdDocumentType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MrtdDocumentType 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