Package org.jmrtd.lds.iso19794
Enum FaceImageInfo.FaceImageType
- java.lang.Object
-
- java.lang.Enum<FaceImageInfo.FaceImageType>
-
- org.jmrtd.lds.iso19794.FaceImageInfo.FaceImageType
-
- All Implemented Interfaces:
Serializable
,Comparable<FaceImageInfo.FaceImageType>
- Enclosing class:
- FaceImageInfo
public static enum FaceImageInfo.FaceImageType extends Enum<FaceImageInfo.FaceImageType>
Face image type code based on Section 5.7.1 of ISO 19794-5.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASIC
FULL_FRONTAL
TOKEN_FRONTAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FaceImageInfo.FaceImageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FaceImageInfo.FaceImageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIC
public static final FaceImageInfo.FaceImageType BASIC
-
FULL_FRONTAL
public static final FaceImageInfo.FaceImageType FULL_FRONTAL
-
TOKEN_FRONTAL
public static final FaceImageInfo.FaceImageType TOKEN_FRONTAL
-
-
Method Detail
-
values
public static FaceImageInfo.FaceImageType[] 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.FaceImageType c : FaceImageInfo.FaceImageType.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.FaceImageType 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
-
-