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 TextSingleFormField
formTypeFormField
-
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 void
ensureFormType(DataForm dataForm, String formType)
DataForm
getDataForm()
FormField
getField(String fieldName)
protected FormField
getFieldOrThrow(String fieldName)
String
getFormType()
StringBuilder
getInstructions()
String
getTitle()
boolean
hasField(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:
getField
in 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)
-
-