Enum ContactlessCardCommonProtocol
- java.lang.Object
-
- java.lang.Enum<ContactlessCardCommonProtocol>
-
- org.eclipse.keyple.core.util.protocol.ContactlessCardCommonProtocol
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ContactlessCardCommonProtocol>
public enum ContactlessCardCommonProtocol extends java.lang.Enum<ContactlessCardCommonProtocol>
This enum contains a non-exhaustive list of contactless smartcard communication protocols.- Since:
- 2.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INNOVATRON_B_PRIME_CARD
ISO_14443_4
NFC_A_ISO_14443_3A
NFC_B_ISO_14443_3B
NFC_F_JIS_6319_4
NFC_V_ISO_15693
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContactlessCardCommonProtocol
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ContactlessCardCommonProtocol[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ISO_14443_4
public static final ContactlessCardCommonProtocol ISO_14443_4
-
NFC_A_ISO_14443_3A
public static final ContactlessCardCommonProtocol NFC_A_ISO_14443_3A
-
NFC_B_ISO_14443_3B
public static final ContactlessCardCommonProtocol NFC_B_ISO_14443_3B
-
NFC_F_JIS_6319_4
public static final ContactlessCardCommonProtocol NFC_F_JIS_6319_4
-
NFC_V_ISO_15693
public static final ContactlessCardCommonProtocol NFC_V_ISO_15693
-
INNOVATRON_B_PRIME_CARD
public static final ContactlessCardCommonProtocol INNOVATRON_B_PRIME_CARD
-
-
Method Detail
-
values
public static ContactlessCardCommonProtocol[] 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 (ContactlessCardCommonProtocol c : ContactlessCardCommonProtocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContactlessCardCommonProtocol 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
-
-