|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.xml.XmlNode
org.jvoicexml.xml.vxml.VoiceXmlNode
org.jvoicexml.xml.vxml.Exit
public final class Exit
Exit a session.
Returns control to the interpreter context which determines what to do next.
<exit/>
This element differs from <return> in that it terminates
all loaded documents, while <return> returns from a
<subdialog> invocation. If the
<subdialog> caused a new document (or application) to be
invoked, then <return> will cause that document to be
terminated, but execution will resume after the
<subdialog>.
Copyright © 2005 JVoiceXML group - http://jvoicexml.sourceforge.net/
Return| Field Summary | |
|---|---|
static String |
ATTRIBUTE_EXPR
An ECMAScript expression that is evaluated as the return value (e.g. "0", "'oops!'" |
static String |
ATTRIBUTE_NAMELIST
Variable names to be returned to interpreter context. |
protected static ArrayList<String> |
ATTRIBUTE_NAMES
Supported attribute names for this node. |
static String |
TAG_NAME
Name of the tag. |
| Fields inherited from class org.jvoicexml.xml.XmlNode |
|---|
node |
| Constructor Summary | |
|---|---|
Exit()
Construct a new exit object without a node. |
|
Exit(Node node)
Construct a new exit object. |
|
| Method Summary | |
|---|---|
Text |
addText(String text)
Create a new text within this node. |
protected boolean |
canContainChild(String tagName)
Can the specified sub-tag be contained within this node? |
Collection<String> |
getAttributeNames()
Returns a collection of permitted attribute names for the node. |
String |
getExpr()
Retrieve the expr attribute. |
String |
getNamelist()
Retrieve the namelist attribute. |
TokenList |
getNameListObject()
Retrieve the namelist attribute as a list object. |
String |
getTagName()
Get the name of the tag for the derived node. |
VoiceXmlNode |
newInstance(Node n)
Create a new instance for the given node. |
void |
setExpr(String expr)
Set the expr attribute. |
void |
setNamelist(String namelist)
Set the namelist attribute. |
| Methods inherited from class org.jvoicexml.xml.vxml.VoiceXmlNode |
|---|
getChildNodes, getFirstChild, getLastChild, getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.jvoicexml.xml.XmlNode |
|---|
addChild, appendChild, cloneNode, compareDocumentPosition, getAttribute, getAttributes, getBaseURI, getChildNodes, getFeature, getLocalName, getNamespaceURI, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getPrefix, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setAttribute, setNodeValue, setPrefix, setTextContent, setUserData, toString, writeChildrenXml, writeXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TAG_NAME
public static final String ATTRIBUTE_EXPR
public static final String ATTRIBUTE_NAMELIST
protected static final ArrayList<String> ATTRIBUTE_NAMES
| Constructor Detail |
|---|
public Exit()
This is necessary for the node factory.
VoiceXmlNodeFactoryExit(Node node)
node - The encapsulated node.| Method Detail |
|---|
public String getTagName()
getTagName in class XmlNodepublic VoiceXmlNode newInstance(Node n)
newInstance in class XmlNoden - The node to encapsulate.
public String getExpr()
ATTRIBUTE_EXPRpublic void setExpr(String expr)
expr - Value of the expr attribute.ATTRIBUTE_EXPRpublic String getNamelist()
ATTRIBUTE_NAMELISTpublic TokenList getNameListObject()
getNamelist()public void setNamelist(String namelist)
namelist - Value of the namelist attribute.ATTRIBUTE_NAMELISTpublic Text addText(String text)
text - The text to be added.
protected boolean canContainChild(String tagName)
canContainChild in class XmlNodetagName - Name of child.
public Collection<String> getAttributeNames()
getAttributeNames in class XmlNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||