org.jmrtd.lds
Enum FaceInfo.Expression
java.lang.Object
java.lang.Enum<FaceInfo.Expression>
org.jmrtd.lds.FaceInfo.Expression
- All Implemented Interfaces:
- Serializable, Comparable<FaceInfo.Expression>
- Enclosing class:
- FaceInfo
public static enum FaceInfo.Expression
- extends Enum<FaceInfo.Expression>
Expression code based on Section 5.5.7 of ISO 19794-5.
UNSPECIFIED
public static final FaceInfo.Expression UNSPECIFIED
NEUTRAL
public static final FaceInfo.Expression NEUTRAL
SMILE_CLOSED
public static final FaceInfo.Expression SMILE_CLOSED
SMILE_OPEN
public static final FaceInfo.Expression SMILE_OPEN
RAISED_EYEBROWS
public static final FaceInfo.Expression RAISED_EYEBROWS
EYES_LOOKING_AWAY
public static final FaceInfo.Expression EYES_LOOKING_AWAY
SQUINTING
public static final FaceInfo.Expression SQUINTING
FROWNING
public static final FaceInfo.Expression FROWNING
values
public static FaceInfo.Expression[] 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.Expression c : FaceInfo.Expression.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.Expression 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