|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.pubsub.NodeExtension
org.jivesoftware.smackx.pubsub.FormNode
public class FormNode
Generic packet extension which represents any pubsub form that is
parsed from the incoming stream or being sent out to the server.
Form types are defined in FormNodeType.
| Constructor Summary | |
|---|---|
FormNode(FormNodeType formType,
Form submitForm)
Create a FormNode which contains the specified form. |
|
FormNode(FormNodeType formType,
String nodeId,
Form submitForm)
Create a FormNode which contains the specified form, which is
associated with the specified node. |
|
| Method Summary | |
|---|---|
Form |
getForm()
Get the Form that is to be sent, or was retrieved from the server. |
String |
toXML()
Returns the XML representation of the PacketExtension. |
| Methods inherited from class org.jivesoftware.smackx.pubsub.NodeExtension |
|---|
getElementName, getNamespace, getNode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FormNode(FormNodeType formType,
Form submitForm)
FormNode which contains the specified form.
formType - The type of form being sentsubmitForm - The form
public FormNode(FormNodeType formType,
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 form| Method Detail |
|---|
public Form getForm()
public String toXML()
PacketExtension
toXML in interface PacketExtensiontoXML in class NodeExtension
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||