Class FormField

java.lang.Object
org.jivesoftware.smackx.xdata.FormField
All Implemented Interfaces:
Element, NamedElement, XmlElement, XmlLangElement
Direct Known Subclasses:
AbstractMultiFormField, JidMultiFormField, SingleValueFormField

public abstract class FormField extends Object implements XmlElement
Represents a field of a form. The field could be used to represent a question to complete, a completed question or a data returned from a search. The exact interpretation of the field depends on the context where the field is used.

Fields have a name, which is stored in the 'var' attribute of the field's XML representation. Field instances of all types, except of type "fixed" must have a name.