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,
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.
|
CharSequence |
toXML()
Returns the XML representation of this Element.
|
getElementName, getNamespace, getNode, toString
public FormNode(FormNodeType formType, Form submitForm)
FormNode
which contains the specified form.formType
- The type of form being sentsubmitForm
- The formpublic 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 formpublic Form getForm()
public CharSequence toXML()
Element
toXML
in interface Element
toXML
in class NodeExtension