Package org.jivesoftware.smackx.xdata
Class AbstractSingleStringValueFormField.Builder<F extends SingleValueFormField,B extends SingleValueFormField.Builder<F,B>>
java.lang.Object
org.jivesoftware.smackx.xdata.FormField.Builder<F,B>
org.jivesoftware.smackx.xdata.SingleValueFormField.Builder<F,B>
org.jivesoftware.smackx.xdata.AbstractSingleStringValueFormField.Builder<F,B>
- Direct Known Subclasses:
ListSingleFormField.Builder
,TextSingleFormField.Builder
- Enclosing class:
- AbstractSingleStringValueFormField
public abstract static class AbstractSingleStringValueFormField.Builder<F extends SingleValueFormField,B extends SingleValueFormField.Builder<F,B>>
extends SingleValueFormField.Builder<F,B>
-
Field Summary
Fields inherited from class org.jivesoftware.smackx.xdata.SingleValueFormField.Builder
rawValue
-
Constructor Summary
ModifierConstructorDescriptionprotected
Builder
(String fieldName, FormField.Type type) protected
Builder
(AbstractSingleStringValueFormField abstractSingleFormField) -
Method Summary
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
- Overrides:
resetInternal
in classSingleValueFormField.Builder<F extends SingleValueFormField,
B extends SingleValueFormField.Builder<F, B>>
-
addValue
Deprecated.usesetValue(CharSequence)
instead.Set the value.- Parameters:
value
- the value to set.- Returns:
- a reference to this builder.
-
setValue
-
setValue
-
setValue
-
setValue
-
setValue
-
setValue
-
setValue(CharSequence)
instead.