Package org.jivesoftware.smackx.xdata
Class AbstractMultiFormField
- java.lang.Object
-
- org.jivesoftware.smackx.xdata.FormField
-
- org.jivesoftware.smackx.xdata.AbstractMultiFormField
-
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.FullyQualifiedElement,org.jivesoftware.smack.packet.NamedElement,org.jivesoftware.smack.packet.XmlLangElement
- Direct Known Subclasses:
ListMultiFormField,TextMultiFormField
public class AbstractMultiFormField extends FormField
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractMultiFormField.Builder<F extends FormField,B extends FormField.Builder<F,B>>-
Nested classes/interfaces inherited from class org.jivesoftware.smackx.xdata.FormField
FormField.Description, FormField.Option, FormField.Required, FormField.Type, FormField.Value
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractMultiFormField(AbstractMultiFormField.Builder<?,?> builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getValues()Returns a List of the default values of the question if the question is part of a form to fill out.-
Methods inherited from class org.jivesoftware.smackx.xdata.FormField
asHiddenFormTypeFieldIfPossible, booleanBuilder, builder, buildHiddenFormType, equals, fixedBuilder, fixedBuilder, getDescription, getElementName, getFieldName, getFirstValue, getFirstValueAsDate, getFormFieldChildElement, getFormFieldChildElements, getFormFieldChildElements, getLabel, getNamespace, getQName, getType, getValuesAsString, getVariable, hashCode, hasValueSet, hiddenBuilder, ifPossibleAs, ifPossibleAsOrThrow, isRequired, jidMultiBuilder, jidSingleBuilder, listMultiBuilder, listSingleBuilder, populateExtraXmlChildElements, textMultiBuilder, textPrivateBuilder, textSingleBuilder, toXML, toXML
-
-
-
-
Constructor Detail
-
AbstractMultiFormField
protected AbstractMultiFormField(AbstractMultiFormField.Builder<?,?> builder)
-
-
Method Detail
-
getValues
public final java.util.List<java.lang.String> getValues()
Description copied from class:FormFieldReturns a List of the default values of the question if the question is part of a form to fill out. Otherwise, returns a List of the answered values of the question.
-
-