public static enum DataForm.Type extends Enum<DataForm.Type>
| Enum Constant and Description |
|---|
CANCEL
The form-submitting entity has cancelled submission of data to the form-processing entity.
|
FORM
The form-processing entity is asking the form-submitting entity to complete a form.
|
RESULT
The form-processing entity is returning data (e.g., search results) to the form-submitting entity, or the data is a generic data set.
|
SUBMIT
The form-submitting entity is submitting data to the form-processing entity.
|
| Modifier and Type | Method and Description |
|---|---|
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 CANCEL
public static final DataForm.Type FORM
public static final DataForm.Type RESULT
public static final DataForm.Type SUBMIT
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 nullCopyright © 2014–2015 XMPP.rocks. All rights reserved.