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(Element el, String f_name, boolean f_value) Data form-types as defined in the XEP-0050.static ElementaddDataForm(Element el, Command.DataType data_type) static voidstatic voidaddFieldListMultiValue(Element el, String f_name, List<String> f_value) static voidstatic voidaddFieldMultiValue(Element el, String f_name, Throwable ex) static voidaddFieldMultiValue(Element el, String f_name, List<String> f_value) static voidstatic voidstatic voidaddFieldValue(Element el, String f_name, String f_value) static voidaddFieldValue(Element el, String f_name, String[] f_values, String label, String[] labels, String[] options) static voidaddFieldValue(Element el, String f_name, String f_value, String type) static voidstatic voidaddFieldValue(Element el, String f_name, String f_value, String label, String[] labels, String[] options) static voidaddFieldValue(Element el, String f_name, String f_value, String label, String[] labels, String[] options, String type) static voidaddHiddenField(Element el, String f_name, String f_value) static voidaddInstructions(Element el, String instructions) static voidaddTextField(Element el, String f_name, String f_value) static voidstatic ElementcreateDataForm(Command.DataType data_type) static booleangetFieldBoolValue(Element el, String f_name) static StringgetFieldKeyStartingWith(Element el, String f_name) static StringgetFieldValue(Element el, String f_name) static String[]getFieldValues(Element el, String f_name) static StringgetFormType(Element form) static booleanremoveFieldValue(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
-