public final class Dialogprepare extends AbstractXmlNode
<dialogprepare> is used to get an appropriate dialog
handler ready to process, it is used as the precursor to a
<dialogstart> request. The element includes a URI
reference to the initial document for the dialog. The new dialog is prepared
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. The use of the
<dialogprepare> element is entirely optional,
applications may choose to simply use <dialogstart>
without prior preparation.| 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_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 |
|---|
Dialogprepare()
Construct a new dialogprepare 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 |
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 |
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
protected static final java.util.ArrayList<java.lang.String> ATTRIBUTE_NAMES
public Dialogprepare()
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 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