Package org.jivesoftware.smackx.xdata
Class BooleanFormField.Builder
- java.lang.Object
-
- org.jivesoftware.smackx.xdata.FormField.Builder<BooleanFormField,BooleanFormField.Builder>
-
- org.jivesoftware.smackx.xdata.BooleanFormField.Builder
-
- Enclosing class:
- BooleanFormField
public static final class BooleanFormField.Builder extends FormField.Builder<BooleanFormField,BooleanFormField.Builder>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BooleanFormField.Builder
addValue(CharSequence value)
Deprecated.usesetValue(CharSequence)
instead.BooleanFormField
build()
BooleanFormField.Builder
getThis()
protected void
resetInternal()
BooleanFormField.Builder
setValue(boolean value)
BooleanFormField.Builder
setValue(CharSequence value)
-
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<BooleanFormField,BooleanFormField.Builder>
-
addValue
@Deprecated public BooleanFormField.Builder addValue(CharSequence value)
Deprecated.usesetValue(CharSequence)
instead.Set the value.- Parameters:
value
- the value to set.- Returns:
- a reference to this builder.
-
setValue
public BooleanFormField.Builder setValue(CharSequence value)
-
setValue
public BooleanFormField.Builder setValue(boolean value)
-
build
public BooleanFormField build()
- Specified by:
build
in classFormField.Builder<BooleanFormField,BooleanFormField.Builder>
-
getThis
public BooleanFormField.Builder getThis()
- Specified by:
getThis
in classFormField.Builder<BooleanFormField,BooleanFormField.Builder>
-
-