public static enum XMPPError.Type extends Enum<XMPPError.Type>
| Modifier and Type | Method and Description |
|---|---|
static XMPPError.Type |
fromString(String string) |
String |
toString() |
static XMPPError.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMPPError.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMPPError.Type WAIT
public static final XMPPError.Type CANCEL
public static final XMPPError.Type MODIFY
public static final XMPPError.Type AUTH
public static final XMPPError.Type CONTINUE
public static XMPPError.Type[] values()
for (XMPPError.Type c : XMPPError.Type.values()) System.out.println(c);
public static XMPPError.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<XMPPError.Type>public static XMPPError.Type fromString(String string)