|
Openfire 3.7.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.forms.spi.XDataFormImpl
DataForm
@Deprecated public class XDataFormImpl
A concrete DataForm capable of sending itself to a writer and recover its state from an XMPP
stanza. XDataForms are packets of the form:
<x xmlns='jabber:x:data' type='{form-type}'>
<title/>
<instructions/>
<field var='field-name'
type='{field-type}'
label='description'>
<desc/>
<required/>
<value>field-value</value>
<option label='option-label'><value>option-value</value></option>
<option label='option-label'><value>option-value</value></option>
</field>
</x>
To learn more follow this link: JEP-04.
Constructor Summary | |
---|---|
XDataFormImpl()
Deprecated. |
|
XDataFormImpl(String type)
Deprecated. |
Method Summary | |
---|---|
void |
addField(FormField field)
Deprecated. |
void |
addInstruction(String instruction)
Deprecated. |
void |
addItemFields(ArrayList itemFields)
Deprecated. |
void |
addReportedField(FormField field)
Deprecated. |
org.dom4j.Element |
asXMLElement()
Deprecated. |
FormField |
getField(String variable)
Deprecated. |
Iterator |
getFields()
Deprecated. |
int |
getFieldsSize()
Deprecated. |
Iterator |
getInstructions()
Deprecated. |
String |
getName()
Deprecated. |
String |
getNamespace()
Deprecated. |
String |
getTitle()
Deprecated. |
String |
getType()
Deprecated. |
void |
parse(org.dom4j.Element formElement)
Deprecated. |
void |
setInstructions(List instructions)
Deprecated. |
void |
setName(String name)
Deprecated. |
void |
setNamespace(String namespace)
Deprecated. |
void |
setTitle(String title)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XDataFormImpl()
public XDataFormImpl(String type)
Method Detail |
---|
public void setTitle(String title)
public void setInstructions(List instructions)
public String getType()
public String getTitle()
public Iterator getInstructions()
public FormField getField(String variable)
public Iterator getFields()
public int getFieldsSize()
public void addInstruction(String instruction)
public void addField(FormField field)
public void addReportedField(FormField field)
public void addItemFields(ArrayList itemFields)
public String getNamespace()
public void setNamespace(String namespace)
public String getName()
public void setName(String name)
public org.dom4j.Element asXMLElement()
public void parse(org.dom4j.Element formElement)
|
Openfire 3.7.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |