public static enum DataForm.Type extends Enum<DataForm.Type>
Enum Constant and Description |
---|
cancel
The form was cancelled.
|
form
This stanza(/packet) contains a form to fill out.
|
result
Data results being returned from a search, or some other query.
|
submit
The form is filled out, and this is the data that is being returned from the form.
|
Modifier and Type | Method and Description |
---|---|
static DataForm.Type |
fromString(String string) |
static DataForm.Type |
valueOf(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 are declared.
|
public static final DataForm.Type form
public static final DataForm.Type submit
public static final DataForm.Type cancel
public static final DataForm.Type result
public static DataForm.Type[] values()
for (DataForm.Type c : DataForm.Type.values()) System.out.println(c);
public static DataForm.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 static DataForm.Type fromString(String string)