Package tigase.server
Class DataForm
java.lang.Object
tigase.server.DataForm
- Author:
- Wojciech Kapcia
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enumstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddCheckBoxField(tigase.xml.Element el, String f_name, boolean f_value) Data form-types as defined in the XEP-0050.static tigase.xml.ElementaddDataForm(tigase.xml.Element el, Command.DataType data_type) static voidstatic voidaddFieldListMultiValue(tigase.xml.Element el, String f_name, List<String> f_value) static voidaddFieldListMultiValue(tigase.xml.Element el, String f_name, List<String> f_value, String label) static voidaddFieldMultiValue(tigase.xml.Element el, String f_name, Throwable ex) static voidaddFieldMultiValue(tigase.xml.Element el, String f_name, List<String> f_value) static voidaddFieldMultiValue(tigase.xml.Element el, String f_name, List<String> f_value, String label) static voidaddFieldMultiValue(tigase.xml.Element el, String f_name, List<String> f_value, String label, String type) static voidaddFieldValue(tigase.xml.Element el, String f_name, String f_value) static voidaddFieldValue(tigase.xml.Element el, String f_name, String[] f_values, String label, String[] labels, String[] options) static voidaddFieldValue(tigase.xml.Element el, String f_name, String f_value, String type) static voidaddFieldValue(tigase.xml.Element el, String f_name, String f_value, String type, String label) static voidaddFieldValue(tigase.xml.Element el, String f_name, String f_value, String label, String[] labels, String[] options) static voidaddFieldValue(tigase.xml.Element el, String f_name, String f_value, String label, String[] labels, String[] options, String type) static voidaddHiddenField(tigase.xml.Element el, String f_name, String f_value) static voidaddInstructions(tigase.xml.Element el, String instructions) static voidaddTextField(tigase.xml.Element el, String f_name, String f_value) static voidstatic tigase.xml.ElementcreateDataForm(Command.DataType data_type) static booleangetFieldBoolValue(tigase.xml.Element el, String f_name) static StringgetFieldKeyStartingWith(tigase.xml.Element el, String f_name) getFields(tigase.xml.Element el) static StringgetFieldValue(tigase.xml.Element el, String f_name) static String[]getFieldValues(tigase.xml.Element el, String f_name) static StringgetFormType(tigase.xml.Element form) static booleanremoveFieldValue(tigase.xml.Element el, String f_name)
-
Field Details
-
FIELD_EL
- See Also:
-
VALUE_EL
- See Also:
-
FORM_TYPE
- See Also:
-
FIELD_VALUE_PATH
-
-
Constructor Details
-
DataForm
public DataForm()
-
-
Method Details
-
addCheckBoxField
Data form-types as defined in the XEP-0050. -
addDataForm
-
addField
-
addFieldMultiValue
-
addFieldMultiValue
-
addFieldListMultiValue
-
addFieldListMultiValue
-
addFieldMultiValue
-
addFieldMultiValue
-
addFieldValue
-
addFieldValue
-
addFieldValue
-
addFieldValue
-
addFieldValue
-
addFieldValue
-
addHiddenField
-
addInstructions
-
addTextField
-
addTitle
-
createDataForm
-
getFieldKeyStartingWith
-
getFieldValue
-
getFieldBoolValue
-
getFieldValues
-
getFields
-
getFormType
-
removeFieldValue
-