Package org.jmrtd.lds.iso19794
Enum FaceImageInfo.Expression
- java.lang.Object
-
- java.lang.Enum<FaceImageInfo.Expression>
-
- org.jmrtd.lds.iso19794.FaceImageInfo.Expression
-
- All Implemented Interfaces:
Serializable
,Comparable<FaceImageInfo.Expression>
- Enclosing class:
- FaceImageInfo
public static enum FaceImageInfo.Expression extends Enum<FaceImageInfo.Expression>
Expression code based on Section 5.5.7 of ISO 19794-5.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EYES_LOOKING_AWAY
FROWNING
NEUTRAL
RAISED_EYEBROWS
SMILE_CLOSED
SMILE_OPEN
SQUINTING
UNSPECIFIED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FaceImageInfo.Expression
valueOf(String name)
Returns the enum constant of this type with the specified name.static FaceImageInfo.Expression[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final FaceImageInfo.Expression UNSPECIFIED
-
NEUTRAL
public static final FaceImageInfo.Expression NEUTRAL
-
SMILE_CLOSED
public static final FaceImageInfo.Expression SMILE_CLOSED
-
SMILE_OPEN
public static final FaceImageInfo.Expression SMILE_OPEN
-
RAISED_EYEBROWS
public static final FaceImageInfo.Expression RAISED_EYEBROWS
-
EYES_LOOKING_AWAY
public static final FaceImageInfo.Expression EYES_LOOKING_AWAY
-
SQUINTING
public static final FaceImageInfo.Expression SQUINTING
-
FROWNING
public static final FaceImageInfo.Expression FROWNING
-
-
Method Detail
-
values
public static FaceImageInfo.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 (FaceImageInfo.Expression c : FaceImageInfo.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 FaceImageInfo.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 nameNullPointerException
- if the argument is null
-
-