jp.bitmeister.asn1.type
Enum ASN1TagDefault

java.lang.Object
  extended by java.lang.Enum<ASN1TagDefault>
      extended by jp.bitmeister.asn1.type.ASN1TagDefault
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ASN1TagDefault>

public enum ASN1TagDefault
extends java.lang.Enum<ASN1TagDefault>

Enumeration of default tagging modes defined in a module definition.

Author:
WATANABE, Jun.
See Also:
ASN1Module

Enum Constant Summary
AUTOMATIC_TAGS
          Represents 'AUTOMATIC TAGS'.
EXPLICIT_TAGS
          Represents 'EXPLICIT TAGS'.
IMPLICIT_TAGS
          Represents 'IMPLICIT TAGS'.
 
Method Summary
static ASN1TagDefault valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ASN1TagDefault[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EXPLICIT_TAGS

public static final ASN1TagDefault EXPLICIT_TAGS
Represents 'EXPLICIT TAGS'.


IMPLICIT_TAGS

public static final ASN1TagDefault IMPLICIT_TAGS
Represents 'IMPLICIT TAGS'.


AUTOMATIC_TAGS

public static final ASN1TagDefault AUTOMATIC_TAGS
Represents 'AUTOMATIC TAGS'.

Method Detail

values

public static ASN1TagDefault[] 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 (ASN1TagDefault c : ASN1TagDefault.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ASN1TagDefault 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 name
java.lang.NullPointerException - if the argument is null