|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.interpreter.formitem.AbstractFormItem
org.jvoicexml.interpreter.formitem.ControlItem
org.jvoicexml.interpreter.formitem.BlockFormItem
public final class BlockFormItem
A sequence of procedural statements used for prompting and computation, but not for gathering input. A block has a (normally implicit) form item variable that is set to true, just before it is interpreted.
Copyright © 2005-2007 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Constructor Summary | |
|---|---|
BlockFormItem(VoiceXmlInterpreterContext context,
VoiceXmlNode voiceNode)
Create a new block form item. |
|
| Method Summary | |
|---|---|
EventHandler |
accept(FormItemVisitor visitor)
Execute the specific method of the visitor. |
Collection<AbstractCatchElement> |
getCatchElements()
Get all nested <catch> elements. |
void |
setVisited()
Mark this form item visited by setting the form item variable to true. |
| Methods inherited from class org.jvoicexml.interpreter.formitem.AbstractFormItem |
|---|
getContext, getExpr, getFormItemVariable, getName, getNode, isSelectable, setFormItemVariable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlockFormItem(VoiceXmlInterpreterContext context,
VoiceXmlNode voiceNode)
context - The current VoiceXmlInterpreterContext.voiceNode - The corresponding XML node in the VoiceXML document.| Method Detail |
|---|
public void setVisited()
true.
public EventHandler accept(FormItemVisitor visitor)
throws JVoiceXMLEvent
visitor - The visitor to use.
JVoiceXMLEvent - Error or event visiting the form item.public Collection<AbstractCatchElement> getCatchElements()
<catch> elements.
getCatchElements in interface FormItemgetCatchElements in class AbstractFormItemnull, since a <block> must
not contain nested catches.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||