Package org.jivesoftware.smackx.xdata
Class BooleanFormField.Builder
java.lang.Object
org.jivesoftware.smackx.xdata.FormField.Builder<F,B>
org.jivesoftware.smackx.xdata.SingleValueFormField.Builder<BooleanFormField,BooleanFormField.Builder>
org.jivesoftware.smackx.xdata.BooleanFormField.Builder
- Enclosing class:
- BooleanFormField
public static final class BooleanFormField.Builder
extends SingleValueFormField.Builder<BooleanFormField,BooleanFormField.Builder>
-
Field Summary
Fields inherited from class org.jivesoftware.smackx.xdata.SingleValueFormField.Builder
rawValue
-
Method Summary
Modifier and TypeMethodDescriptionaddValue
(CharSequence value) Deprecated.build()
getThis()
protected void
setValue
(boolean value) setValue
(CharSequence value) setValue
(FormField.Value value) Methods inherited from class org.jivesoftware.smackx.xdata.FormField.Builder
addFormFieldChildElement, addFormFieldChildElements, getType, reset, setDescription, setLabel, setRequired, setRequired
-
Method Details
-
resetInternal
- Overrides:
resetInternal
in classSingleValueFormField.Builder<BooleanFormField,
BooleanFormField.Builder>
-
addValue
Deprecated.usesetValue(CharSequence)
instead.Set the value.- Parameters:
value
- the value to set.- Returns:
- a reference to this builder.
-
setValue
-
setValue
-
setValue
-
build
- Specified by:
build
in classFormField.Builder<BooleanFormField,
BooleanFormField.Builder>
-
getThis
- Specified by:
getThis
in classFormField.Builder<BooleanFormField,
BooleanFormField.Builder>
-
setValue(CharSequence)
instead.