|
||||||||||
| 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.InputItem
org.jvoicexml.interpreter.formitem.FieldFormItem
public final class FieldFormItem
An input item whose value is obtained via ASR or DTMF grammars.
Copyright © 2005-2006 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Constructor Summary | |
|---|---|
FieldFormItem(VoiceXmlInterpreterContext context,
VoiceXmlNode voiceNode)
Create a new field input item. |
|
| Method Summary | |
|---|---|
EventHandler |
accept(FormItemVisitor visitor)
Execute the specific method of the visitor. |
Collection<Filled> |
getFilledElements()
Get all nested <filled> elements. |
Collection<Grammar> |
getGrammars()
Get all nested definitions of a <grammar>. |
Prompt |
getPrompt()
Get the prompt belonging to this input field. |
Class<? extends Object> |
getShadowVariableContainer()
Retrieves the implementation of the shadow var container for this input item. |
void |
setFormItemVariable(Object value)
Sets the form item variable. Sets also the shadow variables. |
void |
setMarkname(String mark)
Sets the markname. |
| Methods inherited from class org.jvoicexml.interpreter.formitem.InputItem |
|---|
createShadowVarContainer, getEventCount, getPromptCount, getShadowVarContainerName, incrementEventCounter, incrementPromptCount, resetEventCounter, resetPromptCount |
| Methods inherited from class org.jvoicexml.interpreter.formitem.AbstractFormItem |
|---|
getCatchElements, getContext, getExpr, getFormItemVariable, getName, getNode, isSelectable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jvoicexml.interpreter.formitem.PromptCountable |
|---|
getName, getNode |
| Constructor Detail |
|---|
public FieldFormItem(VoiceXmlInterpreterContext context,
VoiceXmlNode voiceNode)
context - The current VoiceXmlInterpreterContext.voiceNode - The corresponding xml node in the VoiceXML document.| Method Detail |
|---|
public EventHandler accept(FormItemVisitor visitor)
throws JVoiceXMLEvent
visitor - The visitor to use.
JVoiceXMLEvent - Error or event visiting the form item.public void setFormItemVariable(Object value)
setFormItemVariable in interface FormItemsetFormItemVariable in class AbstractFormItemvalue - New value for the form item variable.public void setMarkname(String mark)
mark - The name of the mark.public Collection<Grammar> getGrammars()
<grammar>.
<grammar> tags.public Collection<Filled> getFilledElements()
<filled> elements.
<filled> tags.public Prompt getPrompt()
null if there is none.public Class<? extends Object> getShadowVariableContainer()
getShadowVariableContainer in class InputItemnull if there
is no shadow var container.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||