public static enum XMPPError.Type extends java.lang.Enum<XMPPError.Type>
| Modifier and Type | Method and Description |
|---|---|
static XMPPError.Type |
fromString(java.lang.String string) |
java.lang.String |
toString() |
static XMPPError.Type |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<XMPPError.Type>public static XMPPError.Type fromString(java.lang.String string)