|
||||||||||
| 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.ccxml.CcxmlNode
org.jvoicexml.xml.ccxml.Createccxml
public final class Createccxml
<createccxml> is used to create another CCXML session,
which begins execution with the document identified by this element. The term
"session" is not meant to imply a particular form of implementation. A CCXML
session exists for each concurrently executing CCXML document. A session
provides independent execution and a separate variable space for the CCXML
documents it executes. A session is associated with one or more event sources
and will receive events only from those endpoints. The execution of a CCXML
document MAY add or subtract event sources from a session. The new CCXML
session has no relation to its creator once spawned, and has a wholly
separate lifetime and address space.
Execution returns from the <createccxml> element
immediately, and the CCXML interpreter can continue on while the new CCXML
session is established and loads its initial document. If the new session is
successfully established or a failure occurs an event is generated and is
delivered to the session that executed the <createccxml>
element.
Copyright © 2005 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Field Summary | |
|---|---|
static String |
ATTRIBUTE_ENCTYPE
An ECMAScript expression which returns a character string that indicates the media encoding type of the submitted document (when the value of the method is "post"). |
static String |
ATTRIBUTE_MAXAGE
The character string returned is interpreted as a time interval. |
static String |
ATTRIBUTE_MAXSTALE
The character string returned is interpreted as a time interval. |
static String |
ATTRIBUTE_METHOD
The character string returned is interpreted as a time interval. |
static String |
ATTRIBUTE_NAMELIST
A list of zero or more whitespace separated CCXML variable names. |
protected static ArrayList<String> |
ATTRIBUTE_NAMES
Supported attribute names for this node. |
static String |
ATTRIBUTE_NEXT
An ECMAScript expression which returns the URI of the resource to be fetched. |
static String |
ATTRIBUTE_SESSIONID
An ECMAScript left hand side expression evaluating to a previously defined variable. |
static String |
ATTRIBUTE_TIMEOUT
An ECMAScript left hand side expression evaluating to a previously defined variable. |
private static Set<String> |
CHILD_TAGS
Valid child tags for this node. |
static String |
TAG_NAME
Name of the tag. |
| Fields inherited from class org.jvoicexml.xml.XmlNode |
|---|
node |
| Constructor Summary | |
|---|---|
Createccxml()
Construct a new createccxml object without a node. |
|
Createccxml(Node node)
Construct a new createccxml object. |
|
| Method Summary | |
|---|---|
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 |
getEnctype()
Retrieve the enctype attribute. |
String |
getMaxage()
Retrieve the maxage attribute. |
String |
getMaxstale()
Retrieve the maxstale attribute. |
String |
getMethod()
Retrieve the method attribute. |
String |
getNamelist()
Retrieve the namelist attribute. |
String |
getNext()
Retrieve the next attribute. |
String |
getSessionid()
Retrieve the sessionid attribute. |
String |
getTagName()
Get the name of the tag for the derived node. |
String |
getTimeout()
Retrieve the timeout attribute. |
XmlNode |
newInstance(Node n)
Create a new instance for the given node. |
void |
setEnctype(String enctype)
Set the enctype attribute. |
void |
setMaxage(String maxage)
Set the maxage attribute. |
void |
setMaxstale(String maxstale)
Set the maxstale attribute. |
void |
setMethod(String method)
Set the method attribute. |
void |
setNamelist(String namelist)
Set the namelist attribute. |
void |
setNext(String next)
Set the next attribute. |
void |
setSessionid(String sessionid)
Set the sessionid attribute. |
void |
setTimeout(String timeout)
Set the timeout attribute. |
| Methods inherited from class org.jvoicexml.xml.ccxml.CcxmlNode |
|---|
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_ENCTYPE
public static final String ATTRIBUTE_MAXAGE
public static final String ATTRIBUTE_MAXSTALE
public static final String ATTRIBUTE_METHOD
public static final String ATTRIBUTE_NAMELIST
public static final String ATTRIBUTE_NEXT
public static final String ATTRIBUTE_SESSIONID
public static final String ATTRIBUTE_TIMEOUT
protected static final ArrayList<String> ATTRIBUTE_NAMES
private static final Set<String> CHILD_TAGS
| Constructor Detail |
|---|
public Createccxml()
This is necessary for the node factory.
VoiceXmlNodeFactoryCreateccxml(Node node)
node - The encapsulated node.| Method Detail |
|---|
public String getTagName()
getTagName in class XmlNodepublic XmlNode newInstance(Node n)
newInstance in class XmlNoden - The node to encapsulate.
public String getEnctype()
ATTRIBUTE_ENCTYPEpublic void setEnctype(String enctype)
enctype - Value of the enctype attribute.ATTRIBUTE_ENCTYPEpublic String getMaxage()
ATTRIBUTE_MAXAGEpublic void setMaxage(String maxage)
maxage - Value of the maxage attribute.ATTRIBUTE_MAXAGEpublic String getMaxstale()
ATTRIBUTE_MAXSTALEpublic void setMaxstale(String maxstale)
maxstale - Value of the maxstale attribute.ATTRIBUTE_MAXSTALEpublic String getMethod()
ATTRIBUTE_METHODpublic void setMethod(String method)
method - Value of the method attribute.ATTRIBUTE_METHODpublic String getNamelist()
ATTRIBUTE_NAMELISTpublic void setNamelist(String namelist)
namelist - Value of the namelist attribute.ATTRIBUTE_NAMELISTpublic String getNext()
ATTRIBUTE_NEXTpublic void setNext(String next)
next - Value of the next attribute.ATTRIBUTE_NEXTpublic String getSessionid()
ATTRIBUTE_SESSIONIDpublic void setSessionid(String sessionid)
sessionid - Value of the sessionid attribute.ATTRIBUTE_SESSIONIDpublic String getTimeout()
ATTRIBUTE_TIMEOUTpublic void setTimeout(String timeout)
timeout - Value of the timeout attribute.ATTRIBUTE_TIMEOUTprotected 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 | |||||||||