|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.speakright.core.ExecutionContext
public class ExecutionContext
Contains the VoiceXML page renderer. Passed by SpeakRight to a flow object's execute method.
| Field Summary | |
|---|---|
IModelBinder |
m_binder
|
IFlow |
m_flow
|
SRLocations |
m_locations
|
java.util.ArrayList<java.lang.String> |
m_promptFileL
|
java.util.ArrayList |
m_renderL
|
SRResults |
m_results
|
ThrowEvent |
m_thrownEvent
|
| Constructor Summary | |
|---|---|
ExecutionContext()
|
|
| Method Summary | |
|---|---|
boolean |
ConfirmationWasRejected()
Return true if a confirmation was rejected by the user (by saying 'no' or whatever rejection phrase was in the confirmation grammar). |
SRLocations |
getLocations()
get current resource file locations. |
SRResults |
getResults()
Get the results of the previous turn. |
void |
registerPromptFile(java.lang.String path)
add the file to the list of prompt file locations. |
void |
render(IFlow flow)
Render a flow object into a voicexml page. |
void |
throwEvent(ThrowEvent event)
"Throws" an event. |
boolean |
ValidateFailed()
Return true if the call to ValidateInput for this flow returned false. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ThrowEvent m_thrownEvent
public java.util.ArrayList m_renderL
public IModelBinder m_binder
public java.util.ArrayList<java.lang.String> m_promptFileL
public SRResults m_results
public IFlow m_flow
public SRLocations m_locations
| Constructor Detail |
|---|
public ExecutionContext()
| Method Detail |
|---|
public void throwEvent(ThrowEvent event)
throwEvent in interface IExecutionContextevent - The event to be thrown, usually a CustomEvent.public void render(IFlow flow)
render in interface IExecutionContextflow - a flow objectpublic void registerPromptFile(java.lang.String path)
registerPromptFile in interface IExecutionContextpath - full file path to the prompts XML file.public SRResults getResults()
getResults in interface IExecutionContextpublic boolean ValidateFailed()
ValidateFailed in interface IExecutionContextpublic boolean ConfirmationWasRejected()
IExecutionContext
ConfirmationWasRejected in interface IExecutionContextpublic SRLocations getLocations()
IFlowContext
getLocations in interface IFlowContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||