Enum ContactCardCommonProtocol
- java.lang.Object
-
- java.lang.Enum<ContactCardCommonProtocol>
-
- org.eclipse.keyple.core.util.protocol.ContactCardCommonProtocol
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ContactCardCommonProtocol>
public enum ContactCardCommonProtocol extends java.lang.Enum<ContactCardCommonProtocol>
This enum contains a non-exhaustive list of contacts smartcard communication protocols.- Since:
- 2.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INNOVATRON_HIGH_SPEED_PROTOCOL_SAM
ISO_7816_3
ISO_7816_3_T0
ISO_7816_3_T1
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContactCardCommonProtocol
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ContactCardCommonProtocol[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ISO_7816_3
public static final ContactCardCommonProtocol ISO_7816_3
-
ISO_7816_3_T0
public static final ContactCardCommonProtocol ISO_7816_3_T0
-
ISO_7816_3_T1
public static final ContactCardCommonProtocol ISO_7816_3_T1
-
INNOVATRON_HIGH_SPEED_PROTOCOL_SAM
public static final ContactCardCommonProtocol INNOVATRON_HIGH_SPEED_PROTOCOL_SAM
-
-
Method Detail
-
values
public static ContactCardCommonProtocol[] 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 (ContactCardCommonProtocol c : ContactCardCommonProtocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContactCardCommonProtocol valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-