Class FilledForm
- java.lang.Object
-
- org.jivesoftware.smackx.xdata.form.FilledForm
-
- All Implemented Interfaces:
FormReader
- Direct Known Subclasses:
FillableForm,FilledConfigureForm,FilledSubscribeForm,Form,SoftwareInfoForm
public abstract class FilledForm extends Object implements FormReader
-
-
Field Summary
Fields Modifier and Type Field Description protected TextSingleFormFieldformTypeFormField
-
Constructor Summary
Constructors Constructor Description FilledForm(DataForm dataForm)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static voidensureFormType(DataForm dataForm, String formType)DataFormgetDataForm()FormFieldgetField(String fieldName)protected FormFieldgetFieldOrThrow(String fieldName)StringgetFormType()StringBuildergetInstructions()StringgetTitle()booleanhasField(String fieldName)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smackx.xdata.form.FormReader
readBoolean, readDate, readFirstValue, readInteger, readStringValues, readValues
-
-
-
-
Field Detail
-
formTypeFormField
protected final TextSingleFormField formTypeFormField
-
-
Constructor Detail
-
FilledForm
public FilledForm(DataForm dataForm)
-
-
Method Detail
-
getField
public FormField getField(String fieldName)
- Specified by:
getFieldin interfaceFormReader
-
getInstructions
public StringBuilder getInstructions()
-
getDataForm
public DataForm getDataForm()
-
getFormType
public String getFormType()
-
getFieldOrThrow
protected FormField getFieldOrThrow(String fieldName)
-
ensureFormType
protected static void ensureFormType(DataForm dataForm, String formType)
-
-