Openfire 3.9.3 Javadoc

org.jivesoftware.openfire.net
Enum SASLAuthentication.ElementType

java.lang.Object
  extended by java.lang.Enum<SASLAuthentication.ElementType>
      extended by org.jivesoftware.openfire.net.SASLAuthentication.ElementType
All Implemented Interfaces:
Serializable, Comparable<SASLAuthentication.ElementType>
Enclosing class:
SASLAuthentication

public static enum SASLAuthentication.ElementType
extends Enum<SASLAuthentication.ElementType>


Enum Constant Summary
ABORT
           
AUTH
           
CHALLENGE
           
FAILURE
           
RESPONSE
           
UNDEF
           
 
Method Summary
 String toString()
           
static SASLAuthentication.ElementType valueof(String name)
           
static SASLAuthentication.ElementType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SASLAuthentication.ElementType[] 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

ABORT

public static final SASLAuthentication.ElementType ABORT

AUTH

public static final SASLAuthentication.ElementType AUTH

RESPONSE

public static final SASLAuthentication.ElementType RESPONSE

CHALLENGE

public static final SASLAuthentication.ElementType CHALLENGE

FAILURE

public static final SASLAuthentication.ElementType FAILURE

UNDEF

public static final SASLAuthentication.ElementType UNDEF
Method Detail

values

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

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

valueOf

public static SASLAuthentication.ElementType 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 name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<SASLAuthentication.ElementType>

valueof

public static SASLAuthentication.ElementType valueof(String name)

Openfire 3.9.3 Javadoc

Copyright © 2003-2008 Jive Software.