Enum Class TLVClass
- All Implemented Interfaces:
Serializable, Comparable<TLVClass>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionClass bits01— application-specific tag.Class bits10— context-specific tag (most EMV tags).Class bits11— private-use tag.Class bits00— universally defined tag. -
Method Summary
Modifier and TypeMethodDescriptionstatic TLVClassvalueOf(byte firstByte) Resolves theTLVClassencoded in the top two bits offirstByte.static TLVClassReturns the enum constant of this class with the specified name.static TLVClass[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNIVERSAL
-
APPLICATION
Class bits01— application-specific tag. -
CONTEXT_SPECIFIC
Class bits10— context-specific tag (most EMV tags). -
PRIVATE
-
-
Method Details
-
values
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
-