|
||||||||||
| 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.Dialogstart
public final class Dialogstart
<dialogstart> is used to start a dialog and associate
the dialog with a connection or conference. (See Section 10 for a discussion
of connections and bridges). The element includes either a URI reference to
the initial document for the dialog or the identity of a previously prepared
dialog. The dialog executes on a separate logical execution thread (this MAY
be a thread, process, or system depending upon platform implementation) and
does not block the processing of further events by the CCXML session.
If the dialog cannot be started for any reason, an error.dialog.notstarted
event is posted to the event queue of the CCXML session that processed the
<dialogstart> request. When the dialog completes, a
dialog.exit event is posted to the event queue of the CCXML session that
started it.
Copyright © 2005 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Field Summary | |
|---|---|
static String |
ATTRIBUTE_CONFERENCEID
An Optional ECMAScript expression which returns the identifier of`a confe2ence bridge. |
static String |
ATTRIBUTE_CONNECTIONID
An Optional ECMAScript expression which returns the identifier of a connection. |
static String |
ATTRIBUTE_DIALOGID
An ECMAScript left hand side expression evaluating to a previously defined variable. |
static String |
ATTRIBUTE_ENCTYPE
An ECMAScript expression which returns a character string that indicates the HTTP method to use. |
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_MEDIADIRECTION
An ECMAScript expression that defines the direction of the media flow between the Dialog and the Connection or Conference specified by the connectionid or conferenceid attribute. |
static String |
ATTRIBUTE_METHOD
An ECMAScript expression which returns a character string that indicates the HTTP method to use. |
static String |
ATTRIBUTE_NAMELIST
A list of one or more whitespace separated CCXML variable names. |
protected static ArrayList<String> |
ATTRIBUTE_NAMES
Supported attribute names for this node. |
static String |
ATTRIBUTE_PREPAREDDIALOGID
An ECMAScript expression which returns a dialog identifier of a dialog previously prepared by the execution of a dialogprepare element. |
static String |
ATTRIBUTE_SRC
An ECMAScript expression which returns a character string identifying the URI of the dialog document that the dialog interpreter should prepare. |
static String |
ATTRIBUTE_TYPE
An ECMAScript expression which returns a character string that specifies the MIME type of the document, and as a result determines which dialog manager environment is actually used. |
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 | |
|---|---|
Dialogstart()
Construct a new dialogstart object without a node. |
|
Dialogstart(Node node)
Construct a new dialogstart 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 |
getConferenceid()
Retrieve the conferenceid attribute. |
String |
getConnectionid()
Retrieve the connectionid attribute. |
String |
getDialogid()
Retrieve the dialogid attribute. |
String |
getEnctype()
Retrieve the enctype attribute. |
String |
getMaxage()
Retrieve the maxage attribute. |
String |
getMaxstale()
Retrieve the maxstale attribute. |
String |
getMediadirection()
Retrieve the mediadirection attribute. |
String |
getMethod()
Retrieve the method attribute. |
String |
getNamelist()
Retrieve the namelist attribute. |
String |
getPrepareddialogid()
Retrieve the prepareddialogid attribute. |
String |
getSrc()
Retrieve the src attribute. |
String |
getTagName()
Get the name of the tag for the derived node. |
String |
getType()
Retrieve the type attribute. |
XmlNode |
newInstance(Node n)
Create a new instance for the given node. |
void |
setConferenceid(String conferenceid)
Set the conferenceid attribute. |
void |
setConnectionid(String connectionid)
Set the connectionid attribute. |
void |
setDialogid(String dialogid)
Set the dialogid attribute. |
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 |
setMediadirection(String mediadirection)
Set the mediadirection attribute. |
void |
setMethod(String method)
Set the method attribute. |
void |
setNamelist(String namelist)
Set the namelist attribute. |
void |
setPrepareddialogid(String prepareddialogid)
Set the prepareddialogid attribute. |
void |
setSrc(String src)
Set the src attribute. |
void |
setType(String type)
Set the type 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_CONFERENCEID
public static final String ATTRIBUTE_CONNECTIONID
public static final String ATTRIBUTE_DIALOGID
public static final String ATTRIBUTE_ENCTYPE
public static final String ATTRIBUTE_MAXAGE
public static final String ATTRIBUTE_MAXSTALE
public static final String ATTRIBUTE_MEDIADIRECTION
public static final String ATTRIBUTE_METHOD
public static final String ATTRIBUTE_NAMELIST
public static final String ATTRIBUTE_SRC
public static final String ATTRIBUTE_TYPE
public static final String ATTRIBUTE_PREPAREDDIALOGID
protected static final ArrayList<String> ATTRIBUTE_NAMES
private static final Set<String> CHILD_TAGS
| Constructor Detail |
|---|
public Dialogstart()
This is necessary for the node factory.
VoiceXmlNodeFactoryDialogstart(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 getConferenceid()
ATTRIBUTE_CONFERENCEIDpublic void setConferenceid(String conferenceid)
conferenceid - Value of the conferenceid attribute.ATTRIBUTE_CONFERENCEIDpublic String getConnectionid()
ATTRIBUTE_CONNECTIONIDpublic void setConnectionid(String connectionid)
connectionid - Value of the connectionid attribute.ATTRIBUTE_CONNECTIONIDpublic String getDialogid()
ATTRIBUTE_DIALOGIDpublic void setDialogid(String dialogid)
dialogid - Value of the dialogid attribute.ATTRIBUTE_DIALOGIDpublic 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 getMediadirection()
ATTRIBUTE_MEDIADIRECTIONpublic void setMediadirection(String mediadirection)
mediadirection - Value of the mediadirection attribute.ATTRIBUTE_MEDIADIRECTIONpublic 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 getPrepareddialogid()
ATTRIBUTE_PREPAREDDIALOGIDpublic void setPrepareddialogid(String prepareddialogid)
prepareddialogid - Value of the prepareddialogid attribute.ATTRIBUTE_PREPAREDDIALOGIDpublic String getSrc()
ATTRIBUTE_SRCpublic void setSrc(String src)
src - Value of the src attribute.ATTRIBUTE_SRCpublic String getType()
ATTRIBUTE_TYPEpublic void setType(String type)
type - Value of the type attribute.ATTRIBUTE_TYPEprotected 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 | |||||||||