Enum Class TLVDataFormat
- All Implemented Interfaces:
Serializable, Comparable<TLVDataFormat>, Constable
Describes the data format (encoding, length type) of a TLV field.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionASCII alphabetic characters.ASCII alphanumeric characters.ASCII alphanumeric characters and spaces.ASCII alphanumeric and special characters.ASCII digits0-9.Raw binary bytes.Compressed numeric (digits packed into nibbles, with padding).Constructed data object containing nested TLVs.Packed BCD numeric (two digits per byte).Packed BCD date inYYMMDDform.Packed BCD time inHHMMSSform.Proprietary/unspecified format. -
Method Summary
Modifier and TypeMethodDescriptionstatic TLVDataFormatReturns the enum constant of this class with the specified name.static TLVDataFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ASCII_NUMERIC
ASCII digits0-9. -
ASCII_ALPHA
ASCII alphabetic characters. -
ASCII_ALPHA_NUMERIC
ASCII alphanumeric characters. -
ASCII_ALPHA_NUMERIC_SPACE
ASCII alphanumeric characters and spaces. -
ASCII_ALPHA_NUMERIC_SPECIAL
ASCII alphanumeric and special characters. -
BINARY
Raw binary bytes. -
COMPRESSED_NUMERIC
Compressed numeric (digits packed into nibbles, with padding). -
CONSTRUCTED
Constructed data object containing nested TLVs. -
PACKED_NUMERIC
Packed BCD numeric (two digits per byte). -
PACKED_NUMERIC_DATE_YYMMDD
Packed BCD date inYYMMDDform. -
PACKED_NUMERIC_TIME_HHMMSS
Packed BCD time inHHMMSSform. -
PROPRIETARY
Proprietary/unspecified format.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
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
-