public class FormNode extends NodeExtension
FormNodeType.| Constructor and Description |
|---|
FormNode(FormNodeType formType,
DataForm submitForm)
Create a
FormNode which contains the specified form. |
FormNode(FormNodeType formType,
java.lang.String nodeId,
DataForm submitForm)
Create a
FormNode which contains the specified form, which is
associated with the specified node. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addXml(org.jivesoftware.smack.util.XmlStringBuilder xml) |
DataForm |
getForm()
Get the Form that is to be sent, or was retrieved from the server.
|
getElementName, getNamespace, getNode, getPubSubNamespace, toString, toXMLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic FormNode(FormNodeType formType, DataForm submitForm)
FormNode which contains the specified form.formType - The type of form being sentsubmitForm - The formpublic FormNode(FormNodeType formType, java.lang.String nodeId, DataForm submitForm)
FormNode which contains the specified form, which is
associated with the specified node.formType - The type of form being sentnodeId - The node the form is associated withsubmitForm - The formpublic DataForm getForm()
protected void addXml(org.jivesoftware.smack.util.XmlStringBuilder xml)
addXml in class NodeExtension