Package org.jivesoftware.smackx.xdata
Class ListSingleFormField
java.lang.Object
org.jivesoftware.smackx.xdata.FormField
org.jivesoftware.smackx.xdata.SingleValueFormField
org.jivesoftware.smackx.xdata.AbstractSingleStringValueFormField
org.jivesoftware.smackx.xdata.ListSingleFormField
- All Implemented Interfaces:
Element,NamedElement,XmlElement,XmlLangElement,FormFieldWithOptions
public class ListSingleFormField
extends AbstractSingleStringValueFormField
implements FormFieldWithOptions
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.jivesoftware.smackx.xdata.FormField
FormField.Description, FormField.Option, FormField.Required, FormField.Type, FormField.Value -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a List of the available options that the user has in order to answer the question.protected voidPopulateFormField.extraXmlChildElements.Methods inherited from class org.jivesoftware.smackx.xdata.AbstractSingleStringValueFormField
getValue, getValueAsIntMethods inherited from class org.jivesoftware.smackx.xdata.SingleValueFormField
getRawValue, getRawValues, getValuesMethods 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, getValuesAsString, hashCode, hasValueSet, hiddenBuilder, ifPossibleAs, ifPossibleAsOrThrow, isRequired, jidMultiBuilder, jidSingleBuilder, listMultiBuilder, listSingleBuilder, textMultiBuilder, textPrivateBuilder, textSingleBuilder, toXML, toXMLMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage
-
Constructor Details
-
ListSingleFormField
-
-
Method Details
-
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.
-
asBuilder
-
populateExtraXmlChildElements
Description copied from class:FormFieldPopulateFormField.extraXmlChildElements. Note that this method may be overridden by subclasses.- Overrides:
populateExtraXmlChildElementsin classSingleValueFormField
-