|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mozilla.javascript.ScriptableObject
org.jvoicexml.interpreter.formitem.FieldShadowVarContainer
public final class FieldShadowVarContainer
Component that provides a container for the shadowed variables of a field. See http://www.w3.org/TR/voicexml20/#dml2.3.1 for details.
| Field Summary |
|---|
| Fields inherited from class org.mozilla.javascript.ScriptableObject |
|---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
| Fields inherited from interface org.mozilla.javascript.Scriptable |
|---|
NOT_FOUND |
| Constructor Summary | |
|---|---|
FieldShadowVarContainer()
Constructs a new object. |
|
| Method Summary | |
|---|---|
String |
getClassName()
Return the name of the class. |
float |
getConfidence()
Gets the current confidence. |
int |
getEventCount(String type)
Retrieve the counter for the given event type. |
String |
getInputmode()
Gets the current inputmode. |
Object |
getInterpretation()
Gets the current interpretation. |
String |
getMarkname()
Sets the markname. |
String |
getName()
Retrieves the name. |
VoiceXmlNode |
getNode()
Retrieves the corresponding node in the VoiceXML document. |
int |
getPromptCount()
Retrieves the value of the prompt counter. |
String |
getUtterance()
Gets the current utterance. |
void |
incrementEventCounter(JVoiceXMLEvent event)
Increment counters for all events that have the same name as the given event or have a name that is a prefix of the given event. |
void |
incrementPromptCount()
Increments the prompt counter. |
void |
jsContructor()
This method is a callback for rhino which gets called on instantiation. |
void |
resetEventCounter()
Reset the counter for all events. |
void |
resetPromptCount()
Resets the prompt counter. |
void |
setConfidence(float conf)
Sets the confidence. |
void |
setField(InputItem inputItem)
Sets the related InputItem. |
void |
setInputmode(String mode)
Sets the current inputmode. |
void |
setInterpretation(String inter)
Sets the interpretation. |
void |
setMarkname(String mark)
Sets the markname. |
void |
setResult(RecognitionResult result)
Uses the given result to fill the fields. |
void |
setUtterance(String utter)
Sets the utterance. |
| Methods inherited from class org.mozilla.javascript.ScriptableObject |
|---|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldShadowVarContainer()
| Method Detail |
|---|
public void jsContructor()
public void setResult(RecognitionResult result)
result - the recognition result.public float getConfidence()
public String getInputmode()
public void setInputmode(String mode)
mode - the input mode.public Object getInterpretation()
public String getUtterance()
public void setConfidence(float conf)
conf - the new confidencepublic void setInterpretation(String inter)
inter - the new interpretationpublic void setUtterance(String utter)
utter - the new utterancepublic String getMarkname()
public void setMarkname(String mark)
mark - The name of the mark.public String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic void setField(InputItem inputItem)
InputItem.
inputItem - the related item.public int getEventCount(String type)
getEventCount in interface EventCountabletype - Event type.
public void incrementEventCounter(JVoiceXMLEvent event)
incrementEventCounter in interface EventCountableevent - Event to increment.public void resetEventCounter()
resetEventCounter in interface EventCountablepublic String getName()
getName in interface PromptCountablepublic VoiceXmlNode getNode()
getNode in interface PromptCountablepublic int getPromptCount()
getPromptCount in interface PromptCountablepublic void incrementPromptCount()
incrementPromptCount in interface PromptCountablepublic void resetPromptCount()
resetPromptCount in interface PromptCountable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||