org.apache.directory.server.kerberos.shared.messages.value.types
Enum TransitedEncodingType

java.lang.Object
  extended by java.lang.Enum<TransitedEncodingType>
      extended by org.apache.directory.server.kerberos.shared.messages.value.types.TransitedEncodingType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TransitedEncodingType>

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

Version:
$Rev: 540371 $, $Date: 2007-05-22 02:00:43 +0200 (Tue, 22 May 2007) $
Author:
Apache Directory Project

Enum Constant Summary
DOMAIN_X500_COMPRESS
          Constant for the "Domain X500 compress" transited encoding type.
NULL
          Constant for the "null" transited encoding type.
 
Method Summary
 int getOrdinal()
          Returns the number associated with this transited encoding type.
static TransitedEncodingType getTypeByOrdinal(int type)
          Returns the transited encoding type when specified by its ordinal.
 java.lang.String toString()
           
static TransitedEncodingType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TransitedEncodingType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NULL

public static final TransitedEncodingType NULL
Constant for the "null" transited encoding type.


DOMAIN_X500_COMPRESS

public static final TransitedEncodingType DOMAIN_X500_COMPRESS
Constant for the "Domain X500 compress" transited encoding type.

Method Detail

values

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

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

valueOf

public static TransitedEncodingType 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

getTypeByOrdinal

public static TransitedEncodingType getTypeByOrdinal(int type)
Returns the transited encoding type when specified by its ordinal.

Parameters:
type -
Returns:
The transited encoding type.

getOrdinal

public int getOrdinal()
Returns the number associated with this transited encoding type.

Returns:
The transited encoding type ordinal.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<TransitedEncodingType>
See Also:
Object.toString()


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.