Package org.jivesoftware.smackx.xdata
Interface FormFieldWithOptions.Builder<B extends FormField.Builder<?,?>>
-
- All Known Implementing Classes:
ListMultiFormField.Builder
,ListSingleFormField.Builder
- Enclosing interface:
- FormFieldWithOptions
public static interface FormFieldWithOptions.Builder<B extends FormField.Builder<?,?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default B
addOption(java.lang.String option)
B
addOption(FormField.Option option)
Adds an available options to the question that the user has in order to answer the question.
-
-
-
Method Detail
-
addOption
B addOption(FormField.Option option)
Adds an available options to the question that the user has in order to answer the question.- Parameters:
option
- a new available option for the question.- Returns:
- a reference to this builder.
-
-