Package com.oss.util
Enum Class BERTool.TagClass
- All Implemented Interfaces:
Serializable
,Comparable<BERTool.TagClass>
,Constable
- Enclosing class:
- BERTool
Represents BER tag class values as Java enumeration objects.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe application BER tag classThe context-specific BER tag classThe private BER tag classThe universal BER tag class -
Method Summary
Modifier and TypeMethodDescriptionstatic BERTool.TagClass
Returns the enum constant of this class with the specified name.static BERTool.TagClass[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
UNIVERSAL
The universal BER tag class -
APPLICATION
The application BER tag class -
CONTEXT_SPECIFIC
The context-specific BER tag class -
PRIVATE
The private BER tag class
-
-
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
-