|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.interpreter.event.AbstractEventStrategy
public abstract class AbstractEventStrategy
Strategy to process an event coming from the implementation platform.
Copyright © 2005-2007 JVoiceXML group -
http://jvoicexml.sourceforge.net/
| Constructor Summary | |
|---|---|
protected |
AbstractEventStrategy(VoiceXmlInterpreterContext ctx,
VoiceXmlInterpreter ip,
FormInterpretationAlgorithm algorithm,
AbstractFormItem formItem,
VoiceXmlNode n,
String type)
Construct a new object. |
| Method Summary | |
|---|---|
int |
getCount()
Get the count. |
String |
getEventType()
Retrieves the event type. |
protected FormInterpretationAlgorithm |
getFormInterpretationAlgorithm()
Retrieve the FIA. |
protected AbstractFormItem |
getFormItem()
Retrieves the current form item. |
protected VoiceXmlInterpreter |
getVoiceXmlInterpreter()
Retrieve the interpreter property. |
protected VoiceXmlInterpreterContext |
getVoiceXmlInterpreterContext()
Retrieve the context property. |
protected VoiceXmlNode |
getVoiceXmlNode()
Retrieves the child node with which to continue. |
String |
toString()
Returns a string representation of the object. |
void |
writeChildrenXml(XmlWriter writer)
Used to write any children of a node. |
void |
writeXml(XmlWriter writer)
This is the primary method used to write an object and its children as XML text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractEventStrategy(VoiceXmlInterpreterContext ctx,
VoiceXmlInterpreter ip,
FormInterpretationAlgorithm algorithm,
AbstractFormItem formItem,
VoiceXmlNode n,
String type)
ctx - The VoiceXML interpreter context.ip - The VoiceXML interpreter.algorithm - The FIA.formItem - The current form item.n - The child node with which to continue.type - The event type.| Method Detail |
|---|
protected final VoiceXmlInterpreterContext getVoiceXmlInterpreterContext()
protected final VoiceXmlInterpreter getVoiceXmlInterpreter()
protected final FormInterpretationAlgorithm getFormInterpretationAlgorithm()
protected final AbstractFormItem getFormItem()
protected final VoiceXmlNode getVoiceXmlNode()
public final String getEventType()
public final void writeXml(XmlWriter writer)
throws IOException
writeXml in interface XmlWritablewriter - XMLWriter used when writing XML text.
IOException - Error in writing.
public void writeChildrenXml(XmlWriter writer)
throws IOException
writeChildrenXml in interface XmlWritablewriter - XMLWriter used when writing XML text.
IOException - Error in writing.public final String toString()
toString in class Objectpublic final int getCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||