public enum MrzSex extends Enum<MrzSex>
| Enum Constant and Description |
|---|
FEMALE
Female MRZ sex type.
|
MALE
Male MRZ sex type.
|
UNSPECIFIED
Unspecified MRZ sex type.
|
| Modifier and Type | Method and Description |
|---|---|
static MrzSex |
fromMrz(char sex) |
char |
getMrz() |
static MrzSex |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MrzSex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MrzSex MALE
public static final MrzSex FEMALE
public static final MrzSex UNSPECIFIED
public static MrzSex[] values()
for (MrzSex c : MrzSex.values()) System.out.println(c);
public static MrzSex 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 final char getMrz()
public static MrzSex fromMrz(char sex)
sex - the sex charCopyright © 2011–2022 Innovatrics. All rights reserved.