public enum MrzDocumentCode extends Enum<MrzDocumentCode>
| Enum Constant and Description |
|---|
CREW_MEMBER
Crew member (AC).
|
MIGRANT |
PASSPORT
A passport, P or IP. ... maybe Travel Document that is very similar to the passport.
|
TYPE_A
General A type (besides AC).
|
TYPE_C
General type C.
|
TYPE_I
General I type (besides IP).
|
TYPE_V
Type V (Visa).
|
| Modifier and Type | Method and Description |
|---|---|
static MrzDocumentCode |
parse(String mrz) |
static MrzDocumentCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MrzDocumentCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MrzDocumentCode PASSPORT
public static final MrzDocumentCode TYPE_I
public static final MrzDocumentCode TYPE_A
public static final MrzDocumentCode CREW_MEMBER
public static final MrzDocumentCode TYPE_C
public static final MrzDocumentCode TYPE_V
public static final MrzDocumentCode MIGRANT
public static MrzDocumentCode[] values()
for (MrzDocumentCode c : MrzDocumentCode.values()) System.out.println(c);
public static MrzDocumentCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static MrzDocumentCode parse(String mrz) throws MrzParseException
mrz - the mrz stringMrzParseException - could not parse MRZCopyright © 2011–2020 Innovatrics. All rights reserved.