Package org.jpos.tlv
Enum TLVDataFormat
- java.lang.Object
-
- java.lang.Enum<TLVDataFormat>
-
- org.jpos.tlv.TLVDataFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TLVDataFormat>
public enum TLVDataFormat extends java.lang.Enum<TLVDataFormat>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASCII_ALPHA
ASCII_ALPHA_NUMERIC
ASCII_ALPHA_NUMERIC_SPACE
ASCII_ALPHA_NUMERIC_SPECIAL
ASCII_NUMERIC
BINARY
COMPRESSED_NUMERIC
CONSTRUCTED
PACKED_NUMERIC
PACKED_NUMERIC_DATE_YYMMDD
PACKED_NUMERIC_TIME_HHMMSS
PROPRIETARY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TLVDataFormat
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TLVDataFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASCII_NUMERIC
public static final TLVDataFormat ASCII_NUMERIC
-
ASCII_ALPHA
public static final TLVDataFormat ASCII_ALPHA
-
ASCII_ALPHA_NUMERIC
public static final TLVDataFormat ASCII_ALPHA_NUMERIC
-
ASCII_ALPHA_NUMERIC_SPACE
public static final TLVDataFormat ASCII_ALPHA_NUMERIC_SPACE
-
ASCII_ALPHA_NUMERIC_SPECIAL
public static final TLVDataFormat ASCII_ALPHA_NUMERIC_SPECIAL
-
BINARY
public static final TLVDataFormat BINARY
-
COMPRESSED_NUMERIC
public static final TLVDataFormat COMPRESSED_NUMERIC
-
CONSTRUCTED
public static final TLVDataFormat CONSTRUCTED
-
PACKED_NUMERIC
public static final TLVDataFormat PACKED_NUMERIC
-
PACKED_NUMERIC_DATE_YYMMDD
public static final TLVDataFormat PACKED_NUMERIC_DATE_YYMMDD
-
PACKED_NUMERIC_TIME_HHMMSS
public static final TLVDataFormat PACKED_NUMERIC_TIME_HHMMSS
-
PROPRIETARY
public static final TLVDataFormat PROPRIETARY
-
-
Method Detail
-
values
public static TLVDataFormat[] 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 (TLVDataFormat c : TLVDataFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TLVDataFormat 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
-
-