org.jivesoftware.openfire.net
Enum SASLAuthentication.ElementType
java.lang.Object
java.lang.Enum<SASLAuthentication.ElementType>
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>
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
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)
Copyright © 2003-2008 Jive Software.