| Package | Description |
|---|---|
| org.xmpp.forms |
| Modifier and Type | Method and Description |
|---|---|
static FormField.Type |
FormField.Type.fromXMPP(String type)
Converts a String value into its Type representation.
|
FormField.Type |
FormField.getType()
Returns an indicative of the format for the data to answer.
|
static FormField.Type |
FormField.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormField.Type[] |
FormField.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
FormField |
DataForm.addField(String variable,
String label,
FormField.Type type)
Adds a new field as part of the form.
|
void |
DataForm.addReportedField(String variable,
String label,
FormField.Type type)
Adds a field to the list of fields that will be returned from a search.
|
void |
FormField.setType(FormField.Type type)
Sets an indicative of the format for the data to answer.
|
Copyright © 2009–2017 Ignite Realtime. All rights reserved.