Package org.jivesoftware.smackx.xdata
Class ListMultiFormField
- java.lang.Object
-
- org.jivesoftware.smackx.xdata.FormField
-
- org.jivesoftware.smackx.xdata.AbstractMultiFormField
-
- org.jivesoftware.smackx.xdata.ListMultiFormField
-
- All Implemented Interfaces:
Element,FullyQualifiedElement,NamedElement,XmlLangElement,FormFieldWithOptions
public class ListMultiFormField extends AbstractMultiFormField implements FormFieldWithOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListMultiFormField.Builder-
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 protectedListMultiFormField(ListMultiFormField.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListMultiFormField.BuilderasBuilder()java.util.List<FormField.Option>getOptions()Returns a List of the available options that the user has in order to answer the question.protected voidpopulateExtraXmlChildElements()Populate @{linkFormField.extraXmlChildElements}.-
Methods inherited from class org.jivesoftware.smackx.xdata.AbstractMultiFormField
getRawValues
-
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, getRawValueCharSequences, getType, getValues, getValuesAsString, getVariable, hashCode, hasValueSet, hiddenBuilder, ifPossibleAs, ifPossibleAsOrThrow, isRequired, jidMultiBuilder, jidSingleBuilder, listMultiBuilder, listSingleBuilder, textMultiBuilder, textPrivateBuilder, textSingleBuilder, toXML, toXML
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage
-
-
-
-
Constructor Detail
-
ListMultiFormField
protected ListMultiFormField(ListMultiFormField.Builder builder)
-
-
Method Detail
-
getOptions
public java.util.List<FormField.Option> getOptions()
Description copied from interface:FormFieldWithOptionsReturns a List of the available options that the user has in order to answer the question.- Specified by:
getOptionsin interfaceFormFieldWithOptions- Returns:
- List of the available options.
-
populateExtraXmlChildElements
protected void populateExtraXmlChildElements()
Description copied from class:FormFieldPopulate @{linkFormField.extraXmlChildElements}. Note that this method may be overridden by subclasses.- Overrides:
populateExtraXmlChildElementsin classFormField
-
asBuilder
public ListMultiFormField.Builder asBuilder()
-
-