org.jmrtd.lds
Enum FaceInfo.EyeColor
java.lang.Object
java.lang.Enum<FaceInfo.EyeColor>
org.jmrtd.lds.FaceInfo.EyeColor
- All Implemented Interfaces:
- Serializable, Comparable<FaceInfo.EyeColor>
- Enclosing class:
- FaceInfo
public static enum FaceInfo.EyeColor
- extends Enum<FaceInfo.EyeColor>
Eye color code based on Section 5.5.4 of ISO 19794-5.
UNSPECIFIED
public static final FaceInfo.EyeColor UNSPECIFIED
BLACK
public static final FaceInfo.EyeColor BLACK
BLUE
public static final FaceInfo.EyeColor BLUE
BROWN
public static final FaceInfo.EyeColor BROWN
GRAY
public static final FaceInfo.EyeColor GRAY
GREEN
public static final FaceInfo.EyeColor GREEN
MULTI_COLORED
public static final FaceInfo.EyeColor MULTI_COLORED
PINK
public static final FaceInfo.EyeColor PINK
UNKNOWN
public static final FaceInfo.EyeColor UNKNOWN
values
public static FaceInfo.EyeColor[] 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 (FaceInfo.EyeColor c : FaceInfo.EyeColor.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FaceInfo.EyeColor valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null