Package org.forgerock.opendj.io
Enum Asn1Tag.Class
- java.lang.Object
-
- java.lang.Enum<Asn1Tag.Class>
-
- org.forgerock.opendj.io.Asn1Tag.Class
-
- All Implemented Interfaces:
Serializable
,Comparable<Asn1Tag.Class>
- Enclosing class:
- Asn1Tag
public static enum Asn1Tag.Class extends Enum<Asn1Tag.Class>
The Asn1 tag classes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATION
The Application class.CONTEXT_SPECIFIC
The Context-specific class.PRIVATE
The Private class.UNIVERSAL
The Universal class.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Asn1Tag.Class
valueOf(String name)
Returns the enum constant of this type with the specified name.static Asn1Tag.Class[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNIVERSAL
public static final Asn1Tag.Class UNIVERSAL
The Universal class.
-
APPLICATION
public static final Asn1Tag.Class APPLICATION
The Application class.
-
CONTEXT_SPECIFIC
public static final Asn1Tag.Class CONTEXT_SPECIFIC
The Context-specific class.
-
PRIVATE
public static final Asn1Tag.Class PRIVATE
The Private class.
-
-
Method Detail
-
values
public static Asn1Tag.Class[] 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 (Asn1Tag.Class c : Asn1Tag.Class.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Asn1Tag.Class valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-