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(String enclosingNamespace)
Returns the XML representation of this Element.
|
getElementName, getNamespace, getNode, getPubSubNamespace, 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(String enclosingNamespace)
Element
toXML
in interface Element
toXML
in class NodeExtension
enclosingNamespace
- the enclosing namespace or null
.