Package org.jivesoftware.smackx.xdata
Class JidMultiFormField.Builder
- java.lang.Object
-
- org.jivesoftware.smackx.xdata.FormField.Builder<JidMultiFormField,JidMultiFormField.Builder>
-
- org.jivesoftware.smackx.xdata.JidMultiFormField.Builder
-
- Enclosing class:
- JidMultiFormField
public static final class JidMultiFormField.Builder extends FormField.Builder<JidMultiFormField,JidMultiFormField.Builder>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JidMultiFormField.Builder
addValue(FormField.Value value)
JidMultiFormField.Builder
addValue(Jid jid)
JidMultiFormField.Builder
addValues(java.util.Collection<? extends Jid> jids)
JidMultiFormField
build()
JidMultiFormField.Builder
getThis()
protected void
resetInternal()
-
Methods inherited from class org.jivesoftware.smackx.xdata.FormField.Builder
addFormFieldChildElement, addFormFieldChildElements, getType, reset, setDescription, setLabel, setRequired, setRequired
-
-
-
-
Method Detail
-
resetInternal
protected void resetInternal()
- Specified by:
resetInternal
in classFormField.Builder<JidMultiFormField,JidMultiFormField.Builder>
-
addValue
public JidMultiFormField.Builder addValue(Jid jid)
-
addValue
public JidMultiFormField.Builder addValue(FormField.Value value) throws XmppStringprepException
- Throws:
XmppStringprepException
-
addValues
public JidMultiFormField.Builder addValues(java.util.Collection<? extends Jid> jids)
-
build
public JidMultiFormField build()
- Specified by:
build
in classFormField.Builder<JidMultiFormField,JidMultiFormField.Builder>
-
getThis
public JidMultiFormField.Builder getThis()
- Specified by:
getThis
in classFormField.Builder<JidMultiFormField,JidMultiFormField.Builder>
-
-