public class FormNode extends NodeExtension
FormNodeType.| Constructor and Description |
|---|
FormNode(FormNodeType formType,
Form submitForm)
Create a
FormNode which contains the specified form. |
FormNode(FormNodeType formType,
java.lang.String nodeId,
Form submitForm)
Create a
FormNode which contains the specified form, which is
associated with the specified node. |
| Modifier and Type | Method and Description |
|---|---|
Form |
getForm()
Get the Form that is to be sent, or was retrieved from the server.
|
java.lang.CharSequence |
toXML() |
getElementName, getNamespace, getNode, toStringpublic FormNode(FormNodeType formType, Form submitForm)
FormNode which contains the specified form.formType - The type of form being sentsubmitForm - The formpublic FormNode(FormNodeType formType, java.lang.String nodeId, Form 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 Form getForm()
public java.lang.CharSequence toXML()
toXML in interface org.jivesoftware.smack.packet.ElementtoXML in class NodeExtension