public final class Dialogstart extends AbstractXmlNode
<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.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_CONFERENCEID
An Optional ECMAScript expression which returns the identifier of`a
confe2ence bridge.
|
static java.lang.String |
ATTRIBUTE_CONNECTIONID
An Optional ECMAScript expression which returns the identifier of a
connection.
|
static java.lang.String |
ATTRIBUTE_DIALOGID
An ECMAScript left hand side expression evaluating to a previously
defined variable.
|
static java.lang.String |
ATTRIBUTE_ENCTYPE
An ECMAScript expression which returns a character string that indicates
the HTTP method to use.
|
static java.lang.String |
ATTRIBUTE_MAXAGE
The character string returned is interpreted as a time interval.
|
static java.lang.String |
ATTRIBUTE_MAXSTALE
The character string returned is interpreted as a time interval.
|
static java.lang.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 java.lang.String |
ATTRIBUTE_METHOD
An ECMAScript expression which returns a character string that indicates
the HTTP method to use.
|
static java.lang.String |
ATTRIBUTE_NAMELIST
A list of one or more whitespace separated CCXML variable names.
|
protected static java.util.ArrayList<java.lang.String> |
ATTRIBUTE_NAMES
Supported attribute names for this node.
|
static java.lang.String |
ATTRIBUTE_PREPAREDDIALOGID
An ECMAScript expression which returns a dialog identifier of a dialog
previously prepared by the execution of a dialogprepare element.
|
static java.lang.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 java.lang.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.
|
static java.lang.String |
TAG_NAME
Name of the tag.
|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
Dialogstart()
Construct a new dialogstart object without a node.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canContainChild(java.lang.String tagName)
Can the specified sub-tag be contained within this node?
|
java.util.Collection<java.lang.String> |
getAttributeNames()
Returns a collection of permitted attribute names for the node.
|
java.lang.String |
getConferenceid()
Retrieve the conferenceid attribute.
|
java.lang.String |
getConnectionid()
Retrieve the connectionid attribute.
|
java.lang.String |
getDialogid()
Retrieve the dialogid attribute.
|
java.lang.String |
getEnctype()
Retrieve the enctype attribute.
|
java.lang.String |
getMaxage()
Retrieve the maxage attribute.
|
java.lang.String |
getMaxstale()
Retrieve the maxstale attribute.
|
java.lang.String |
getMediadirection()
Retrieve the mediadirection attribute.
|
java.lang.String |
getMethod()
Retrieve the method attribute.
|
java.lang.String |
getNamelist()
Retrieve the namelist attribute.
|
java.lang.String |
getPrepareddialogid()
Retrieve the prepareddialogid attribute.
|
java.lang.String |
getSrc()
Retrieve the src attribute.
|
java.lang.String |
getTagName()
Get the name of the tag for the derived node.
|
java.lang.String |
getType()
Retrieve the type attribute.
|
XmlNode |
newInstance(org.w3c.dom.Node n,
XmlNodeFactory<? extends XmlNode> factory)
Create a new instance for the given node.
|
void |
setConferenceid(java.lang.String conferenceid)
Set the conferenceid attribute.
|
void |
setConnectionid(java.lang.String connectionid)
Set the connectionid attribute.
|
void |
setDialogid(java.lang.String dialogid)
Set the dialogid attribute.
|
void |
setEnctype(java.lang.String enctype)
Set the enctype attribute.
|
void |
setMaxage(java.lang.String maxage)
Set the maxage attribute.
|
void |
setMaxstale(java.lang.String maxstale)
Set the maxstale attribute.
|
void |
setMediadirection(java.lang.String mediadirection)
Set the mediadirection attribute.
|
void |
setMethod(java.lang.String method)
Set the method attribute.
|
void |
setNamelist(java.lang.String namelist)
Set the namelist attribute.
|
void |
setPrepareddialogid(java.lang.String prepareddialogid)
Set the prepareddialogid attribute.
|
void |
setSrc(java.lang.String src)
Set the src attribute.
|
void |
setType(java.lang.String type)
Set the type attribute.
|
addChild, addChild, appendChild, appendChild, appendDeepClone, cloneNode, compareDocumentPosition, equals, getAttribute, getAttributes, getBaseURI, getChildNodes, getChildNodes, getChildren, getDefinedAttributeNames, getFeature, getFirstChild, getFirstLevelTextContent, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeFactory, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getOwnerXmlDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttribute, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setAttribute, setNodeValue, setPrefix, setTextContent, setUserData, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddChild, getAttribute, getChildNodes, getChildren, getNode, setAttributeappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic static final java.lang.String TAG_NAME
public static final java.lang.String ATTRIBUTE_CONFERENCEID
public static final java.lang.String ATTRIBUTE_CONNECTIONID
public static final java.lang.String ATTRIBUTE_DIALOGID
public static final java.lang.String ATTRIBUTE_ENCTYPE
public static final java.lang.String ATTRIBUTE_MAXAGE
public static final java.lang.String ATTRIBUTE_MAXSTALE
public static final java.lang.String ATTRIBUTE_MEDIADIRECTION
public static final java.lang.String ATTRIBUTE_METHOD
public static final java.lang.String ATTRIBUTE_NAMELIST
public static final java.lang.String ATTRIBUTE_SRC
public static final java.lang.String ATTRIBUTE_TYPE
public static final java.lang.String ATTRIBUTE_PREPAREDDIALOGID
protected static final java.util.ArrayList<java.lang.String> ATTRIBUTE_NAMES
public Dialogstart()
This is necessary for the node factory.
CcxmlNodeFactorypublic java.lang.String getTagName()
public XmlNode newInstance(org.w3c.dom.Node n, XmlNodeFactory<? extends XmlNode> factory)
Each XmlNode can serve as a prototype in a
XmlNodeFactory to produce a collection of
child nodes. Factories can then use the prototype pattern to
produce new nodes.
n - The node to encapsulate.factory - the factroy that calls this method.XmlNodeFactorypublic java.lang.String getConferenceid()
ATTRIBUTE_CONFERENCEIDpublic void setConferenceid(java.lang.String conferenceid)
conferenceid - Value of the conferenceid attribute.ATTRIBUTE_CONFERENCEIDpublic java.lang.String getConnectionid()
ATTRIBUTE_CONNECTIONIDpublic void setConnectionid(java.lang.String connectionid)
connectionid - Value of the connectionid attribute.ATTRIBUTE_CONNECTIONIDpublic java.lang.String getDialogid()
ATTRIBUTE_DIALOGIDpublic void setDialogid(java.lang.String dialogid)
dialogid - Value of the dialogid attribute.ATTRIBUTE_DIALOGIDpublic java.lang.String getEnctype()
ATTRIBUTE_ENCTYPEpublic void setEnctype(java.lang.String enctype)
enctype - Value of the enctype attribute.ATTRIBUTE_ENCTYPEpublic java.lang.String getMaxage()
ATTRIBUTE_MAXAGEpublic void setMaxage(java.lang.String maxage)
maxage - Value of the maxage attribute.ATTRIBUTE_MAXAGEpublic java.lang.String getMaxstale()
ATTRIBUTE_MAXSTALEpublic void setMaxstale(java.lang.String maxstale)
maxstale - Value of the maxstale attribute.ATTRIBUTE_MAXSTALEpublic java.lang.String getMediadirection()
ATTRIBUTE_MEDIADIRECTIONpublic void setMediadirection(java.lang.String mediadirection)
mediadirection - Value of the mediadirection attribute.ATTRIBUTE_MEDIADIRECTIONpublic java.lang.String getMethod()
ATTRIBUTE_METHODpublic void setMethod(java.lang.String method)
method - Value of the method attribute.ATTRIBUTE_METHODpublic java.lang.String getNamelist()
ATTRIBUTE_NAMELISTpublic void setNamelist(java.lang.String namelist)
namelist - Value of the namelist attribute.ATTRIBUTE_NAMELISTpublic java.lang.String getPrepareddialogid()
ATTRIBUTE_PREPAREDDIALOGIDpublic void setPrepareddialogid(java.lang.String prepareddialogid)
prepareddialogid - Value of the prepareddialogid attribute.ATTRIBUTE_PREPAREDDIALOGIDpublic java.lang.String getSrc()
ATTRIBUTE_SRCpublic void setSrc(java.lang.String src)
src - Value of the src attribute.ATTRIBUTE_SRCpublic java.lang.String getType()
ATTRIBUTE_TYPEpublic void setType(java.lang.String type)
type - Value of the type attribute.ATTRIBUTE_TYPEprotected boolean canContainChild(java.lang.String tagName)
canContainChild in class AbstractXmlNodetagName - Name of child.public java.util.Collection<java.lang.String> getAttributeNames()
getAttributeNames in interface XmlNodegetAttributeNames in class AbstractXmlNode