|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DataForm.Type> org.xmpp.forms.DataForm.Type
public static enum DataForm.Type
Type-safe enumeration to represent the type of the Data forms.
Enum Constant Summary | |
---|---|
cancel
The forms-submitting entity has cancelled submission of data to the forms-processing entity. |
|
form
The forms-processing entity is asking the forms-submitting entity to complete a form. |
|
result
The forms-processing entity is returning data (e.g., search results) to the forms-submitting entity, or the data is a generic data set. |
|
submit
The forms-submitting entity is submitting data to the forms-processing entity. |
Method Summary | |
---|---|
static DataForm.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DataForm.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DataForm.Type form
public static final DataForm.Type submit
public static final DataForm.Type cancel
public static final DataForm.Type result
Method Detail |
---|
public static final DataForm.Type[] values()
for(DataForm.Type c : DataForm.Type.values()) System.out.println(c);
public static DataForm.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 name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |