|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.interpreter.dialog.ExecutablePlainForm
public final class ExecutablePlainForm
Implementation of a Dialog for the
<form> tag.
Form| Constructor Summary | |
|---|---|
ExecutablePlainForm()
Constructs a new object. |
|
| Method Summary | |
|---|---|
Dialog |
clone()
Creates a clone of this dialog. |
Collection<AbstractCatchElement> |
getCatchElements()
Gets all nested <catch> elements. |
Collection<XmlNode> |
getChildNodes()
Retrieves the child nodes of this executable form. |
Collection<Filled> |
getFilledElements()
Gets all nested <filled> elements. |
Collection<FormItem> |
getFormItems(VoiceXmlInterpreterContext context)
Retrieves all FormItems, defined in this form. |
String |
getId()
Retrieves the identifier of this dialog. |
void |
setNode(XmlNode node)
Associates the dialog with the given node. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecutablePlainForm()
| Method Detail |
|---|
public void setNode(XmlNode node)
throws IllegalArgumentException
setNode in interface Dialognode - the node
IllegalArgumentException - if the dialog can not be associated with the nodepublic 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.
getId in interface Dialogpublic Collection<XmlNode> getChildNodes()
getChildNodes in interface Dialog
public 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 Collection<Filled> getFilledElements()
<filled> elements.
getFilledElements in interface Dialog<filled> tags.public Collection<AbstractCatchElement> getCatchElements()
<catch> elements.
getCatchElements in interface Dialog<catch> tags.public Dialog clone()
clone in interface Dialogclone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||