|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventStrategy
A strategy to process an event coming from the implementation platform.
Each strategy is responsible to handle events of a given type
getEventType(). Event processing happens in the
process(JVoiceXMLEvent) method.
ImplementationPlatform| Method Summary | |
|---|---|
int |
getCount()
Retrieves the count of different occurrences of the event type returned by getEventType(). |
String |
getEventType()
Retrieves the event type. |
boolean |
isActive()
Checks if this event strategy is active by evaluating the cond attribute of the corresponding catch node and
special enabling conditions. |
void |
process(JVoiceXMLEvent event)
Processes the event. |
| Method Detail |
|---|
String getEventType()
int getCount()
getEventType().
boolean isActive()
throws SemanticError
cond attribute of the corresponding catch node and
special enabling conditions.
true if this strategy is active.
SemanticError - error evaluating the condition
void process(JVoiceXMLEvent event)
throws JVoiceXMLEvent
event - the caught event.
JVoiceXMLEvent - Error or event processing the current tag.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||