Package org.jivesoftware.smackx.xdata
Class AbstractMultiFormField.Builder<F extends AbstractMultiFormField,B extends FormField.Builder<F,B>>
java.lang.Object
org.jivesoftware.smackx.xdata.FormField.Builder<F,B>
org.jivesoftware.smackx.xdata.AbstractMultiFormField.Builder<F,B>
- Direct Known Subclasses:
ListMultiFormField.Builder
,TextMultiFormField.Builder
- Enclosing class:
- AbstractMultiFormField
public abstract static class AbstractMultiFormField.Builder<F extends AbstractMultiFormField,B extends FormField.Builder<F,B>>
extends FormField.Builder<F,B>
-
Constructor Summary
ModifierConstructorDescriptionprotected
Builder
(String fieldName, FormField.Type type) protected
Builder
(AbstractMultiFormField formField) -
Method Summary
Modifier and TypeMethodDescriptionabstract B
addValue
(CharSequence value) final B
final B
addValues
(Collection<? extends CharSequence> values) addValueVerbatim
(CharSequence value) addValueVerbatim
(FormField.Value value) protected void
Methods inherited from class org.jivesoftware.smackx.xdata.FormField.Builder
addFormFieldChildElement, addFormFieldChildElements, build, getThis, getType, reset, setDescription, setLabel, setRequired, setRequired
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
resetInternal
- Specified by:
resetInternal
in classFormField.Builder<F extends AbstractMultiFormField,
B extends FormField.Builder<F, B>>
-
addValue
-
addValueVerbatim
-
addValueVerbatim
-
addValue
-
addValues
-