JMRTD 0.4.5

org.jmrtd.lds
Enum FaceInfo.SourceType

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

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

Source type based on Section 5.7.6 of ISO 19794-5.


Enum Constant Summary
STATIC_PHOTO_DIGITAL_CAM
           
STATIC_PHOTO_SCANNER
           
STATIC_PHOTO_UNKNOWN_SOURCE
           
UNKNOWN
           
UNSPECIFIED
           
VIDEO_FRAME_ANALOG_CAM
           
VIDEO_FRAME_DIGITAL_CAM
           
VIDEO_FRAME_UNKNOWN_SOURCE
           
 
Method Summary
static FaceInfo.SourceType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FaceInfo.SourceType[] 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

UNSPECIFIED

public static final FaceInfo.SourceType UNSPECIFIED

STATIC_PHOTO_UNKNOWN_SOURCE

public static final FaceInfo.SourceType STATIC_PHOTO_UNKNOWN_SOURCE

STATIC_PHOTO_DIGITAL_CAM

public static final FaceInfo.SourceType STATIC_PHOTO_DIGITAL_CAM

STATIC_PHOTO_SCANNER

public static final FaceInfo.SourceType STATIC_PHOTO_SCANNER

VIDEO_FRAME_UNKNOWN_SOURCE

public static final FaceInfo.SourceType VIDEO_FRAME_UNKNOWN_SOURCE

VIDEO_FRAME_ANALOG_CAM

public static final FaceInfo.SourceType VIDEO_FRAME_ANALOG_CAM

VIDEO_FRAME_DIGITAL_CAM

public static final FaceInfo.SourceType VIDEO_FRAME_DIGITAL_CAM

UNKNOWN

public static final FaceInfo.SourceType UNKNOWN
Method Detail

values

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