JMRTD 0.4.5

org.jmrtd.lds
Enum FaceInfo.Features

java.lang.Object
  extended by java.lang.Enum<FaceInfo.Features>
      extended by org.jmrtd.lds.FaceInfo.Features
All Implemented Interfaces:
Serializable, Comparable<FaceInfo.Features>
Enclosing class:
FaceInfo

public static enum FaceInfo.Features
extends Enum<FaceInfo.Features>

Feature flags meaning based on Section 5.5.6 of ISO 19794-5.


Enum Constant Summary
BEARD
           
BLINK
           
DARK_GLASSES
           
DISTORTING_MEDICAL_CONDITION
           
FEATURES_ARE_SPECIFIED
           
GLASSES
           
LEFT_EYE_PATCH
           
MOUSTACHE
           
MOUTH_OPEN
           
RIGHT_EYE_PATCH
           
TEETH_VISIBLE
           
 
Method Summary
static FaceInfo.Features valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FaceInfo.Features[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FEATURES_ARE_SPECIFIED

public static final FaceInfo.Features FEATURES_ARE_SPECIFIED

GLASSES

public static final FaceInfo.Features GLASSES

MOUSTACHE

public static final FaceInfo.Features MOUSTACHE

BEARD

public static final FaceInfo.Features BEARD

TEETH_VISIBLE

public static final FaceInfo.Features TEETH_VISIBLE

BLINK

public static final FaceInfo.Features BLINK

MOUTH_OPEN

public static final FaceInfo.Features MOUTH_OPEN

LEFT_EYE_PATCH

public static final FaceInfo.Features LEFT_EYE_PATCH

RIGHT_EYE_PATCH

public static final FaceInfo.Features RIGHT_EYE_PATCH

DARK_GLASSES

public static final FaceInfo.Features DARK_GLASSES

DISTORTING_MEDICAL_CONDITION

public static final FaceInfo.Features DISTORTING_MEDICAL_CONDITION
Method Detail

values

public static FaceInfo.Features[] 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.Features c : FaceInfo.Features.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.Features 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

JMRTD 0.4.5