public final class ExecutablePlainForm extends java.lang.Object implements Dialog
Dialog for the
<form> tag.Form| Constructor and Description |
|---|
ExecutablePlainForm()
Constructs a new object.
|
| Modifier and Type | Method and Description |
|---|---|
Dialog |
clone()
Creates a clone of this dialog.
|
java.util.Collection<org.jvoicexml.xml.vxml.AbstractCatchElement> |
getCatchElements()
Gets all nested
<catch> elements. |
java.util.Collection<org.jvoicexml.xml.XmlNode> |
getChildNodes()
Retrieves the child nodes of this executable form.
|
java.util.Collection<org.jvoicexml.xml.vxml.Filled> |
getFilledElements()
Gets all nested
<filled> elements. |
java.util.Collection<FormItem> |
getFormItems(VoiceXmlInterpreterContext context)
Retrieves all
FormItems, defined in this form. |
java.lang.String |
getId()
Retrieves the identifier of this
dialog. |
void |
setNode(org.jvoicexml.xml.XmlNode node)
Associates the dialog with the given node.
|
public void setNode(org.jvoicexml.xml.XmlNode node)
throws java.lang.IllegalArgumentException
public java.lang.String getId()
dialog.
It allows the Dialog to be target of
a <goto> or a <submit>.
If the related form or menu does not provide an id a randomly chosen id is returned as the id for this dialog.
public java.util.Collection<org.jvoicexml.xml.XmlNode> getChildNodes()
getChildNodes in interface Dialogpublic java.util.Collection<FormItem> getFormItems(VoiceXmlInterpreterContext context) throws BadFetchError
FormItems, defined in this form.getFormItems in interface Dialogcontext - The current context.FormItems.BadFetchError - Error obtaining the form items.public java.util.Collection<org.jvoicexml.xml.vxml.Filled> getFilledElements()
<filled> elements.getFilledElements in interface Dialog<filled> tags.public java.util.Collection<org.jvoicexml.xml.vxml.AbstractCatchElement> getCatchElements()
<catch> elements.getCatchElements in interface Dialog<catch> tags.