public class DataForm extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_EL |
protected static String[] |
FIELD_VALUE_PATH |
static String |
VALUE_EL |
Constructor and Description |
---|
DataForm() |
Modifier and Type | Method and Description |
---|---|
static void |
addCheckBoxField(tigase.xml.Element el,
String f_name,
boolean f_value)
Data form-types as defined in the XEP-0050.
|
static tigase.xml.Element |
addDataForm(tigase.xml.Element el,
Command.DataType data_type) |
static void |
addFieldMultiValue(tigase.xml.Element el,
String f_name,
List<String> f_value) |
static void |
addFieldMultiValue(tigase.xml.Element el,
String f_name,
Throwable ex) |
static void |
addFieldValue(tigase.xml.Element el,
String f_name,
String f_value) |
static void |
addFieldValue(tigase.xml.Element el,
String f_name,
String[] f_values,
String label,
String[] labels,
String[] options) |
static void |
addFieldValue(tigase.xml.Element el,
String f_name,
String f_value,
String type) |
static void |
addFieldValue(tigase.xml.Element el,
String f_name,
String f_value,
String type,
String label) |
static void |
addFieldValue(tigase.xml.Element el,
String f_name,
String f_value,
String label,
String[] labels,
String[] options) |
static void |
addFieldValue(tigase.xml.Element el,
String f_name,
String f_value,
String label,
String[] labels,
String[] options,
String type) |
static void |
addHiddenField(tigase.xml.Element el,
String f_name,
String f_value) |
static void |
addInstructions(tigase.xml.Element el,
String instructions) |
static void |
addTextField(tigase.xml.Element el,
String f_name,
String f_value) |
static void |
addTitle(tigase.xml.Element el,
String title) |
static String |
getFieldKeyStartingWith(tigase.xml.Element el,
String f_name) |
static String |
getFieldValue(tigase.xml.Element el,
String f_name) |
static String[] |
getFieldValues(tigase.xml.Element el,
String f_name) |
static boolean |
removeFieldValue(tigase.xml.Element el,
String f_name) |
public static final String FIELD_EL
public static final String VALUE_EL
protected static final String[] FIELD_VALUE_PATH
public static void addCheckBoxField(tigase.xml.Element el, String f_name, boolean f_value)
public static tigase.xml.Element addDataForm(tigase.xml.Element el, Command.DataType data_type)
public static void addFieldMultiValue(tigase.xml.Element el, String f_name, List<String> f_value)
public static void addFieldMultiValue(tigase.xml.Element el, String f_name, Throwable ex)
public static void addFieldValue(tigase.xml.Element el, String f_name, String f_value)
public static void addFieldValue(tigase.xml.Element el, String f_name, String f_value, String label, String[] labels, String[] options)
public static void addFieldValue(tigase.xml.Element el, String f_name, String[] f_values, String label, String[] labels, String[] options)
public static void addFieldValue(tigase.xml.Element el, String f_name, String f_value, String label, String[] labels, String[] options, String type)
public static void addFieldValue(tigase.xml.Element el, String f_name, String f_value, String type)
public static void addFieldValue(tigase.xml.Element el, String f_name, String f_value, String type, String label)
public static void addHiddenField(tigase.xml.Element el, String f_name, String f_value)
public static void addInstructions(tigase.xml.Element el, String instructions)
public static void addTitle(tigase.xml.Element el, String title)
public static boolean removeFieldValue(tigase.xml.Element el, String f_name)
Copyright © 2015 "Tigase, Inc.". All rights reserved.