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
Constructors Modifier Constructor Description protected
Builder(java.lang.String fieldName, FormField.Type type)
protected
Builder(AbstractMultiFormField formField)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract B
addValue(java.lang.CharSequence value)
B
addValue(java.util.Date date)
B
addValues(java.util.Collection<? extends java.lang.CharSequence> values)
B
addValueVerbatim(java.lang.CharSequence value)
B
addValueVerbatim(FormField.Value value)
protected void
resetInternal()
-
Methods inherited from class org.jivesoftware.smackx.xdata.FormField.Builder
addFormFieldChildElement, addFormFieldChildElements, build, getThis, getType, reset, setDescription, setLabel, setRequired, setRequired
-
-
-
-
Constructor Detail
-
Builder
protected Builder(AbstractMultiFormField formField)
-
Builder
protected Builder(java.lang.String fieldName, FormField.Type type)
-
-
Method Detail
-
resetInternal
protected void resetInternal()
- Specified by:
resetInternal
in classFormField.Builder<F extends AbstractMultiFormField,B extends FormField.Builder<F,B>>
-
addValueVerbatim
public B addValueVerbatim(java.lang.CharSequence value)
-
addValueVerbatim
public B addValueVerbatim(FormField.Value value)
-
-