public final class Createcall extends AbstractXmlNode
<createcall>. This element will instruct the
platform to allocate a Connection and attempt to place an
outgoing call to a specified address. The element is non-blocking,
and the CCXML document is immediately free to perform other tasks,
such as initiating dialog interaction with another caller. The CCXML
interpreter will receive an asynchronous event when the call attempt
is completed. An <eventprocessor>
<transition> block can handle this event and
perform further call control, such as conferencing. If the call
was successfully placed, the transition block can also initiate
a dialog interaction with the called party.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_AAI
An ECMAScript expression which returns a string of
application-to-application information to be passed to the
destination endpoint when establishing the connection.
|
static java.lang.String |
ATTRIBUTE_CALLERID
An ECMAScript expression which returns a string defining the
caller identity to be used when making the outbound connection.
|
static java.lang.String |
ATTRIBUTE_CONNECTIONID
An ECMAScript expression which returns a string defining the caller
identity to be used when making the outbound connection.
|
static java.lang.String |
ATTRIBUTE_DEST
An ECMAScript expression which returns a string that is the target
of the outbound telephone call.
|
static java.lang.String |
ATTRIBUTE_HINTS
ECMAScript expression that returns an ECMAScript object The
ECMAScript object returned contains information which may be
used by the implementing platform when establishing the outbound
connection.
|
static java.lang.String |
ATTRIBUTE_JOINDIRECTION
An ECMAScript expression that defines the direction of the media flow
between the newly created connection, and the existing
connection/conference/dialog referenced by joinid.
|
static java.lang.String |
ATTRIBUTE_JOINID
An ECMAScript expression that identifies a connection, conference, or
dialog ID that the new call will be joined to.
|
protected static java.util.ArrayList<java.lang.String> |
ATTRIBUTE_NAMES
Supported attribute names for this node.
|
static java.lang.String |
ATTRIBUTE_TIMEOUT
The character string returned is interpreted as a time interval.
|
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 |
|---|
Createcall()
Construct a new createcall 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.lang.String |
getAai()
Retrieve the aai attribute.
|
java.util.Collection<java.lang.String> |
getAttributeNames()
Returns a collection of permitted attribute names for the node.
|
java.lang.String |
getCallerid()
Retrieve the callerid attribute.
|
java.lang.String |
getConnectionid()
Retrieve the connectionid attribute.
|
java.lang.String |
getDest()
Retrieve the dest attribute.
|
java.lang.String |
getHints()
Retrieve the hints attribute.
|
java.lang.String |
getJoindirection()
Retrieve the joindirection attribute.
|
java.lang.String |
getJoinid()
Retrieve the joinid attribute.
|
java.lang.String |
getTagName()
Get the name of the tag for the derived node.
|
java.lang.String |
getTimeout()
Retrieve the timeout attribute.
|
XmlNode |
newInstance(org.w3c.dom.Node n,
XmlNodeFactory<? extends XmlNode> factory)
Create a new instance for the given node.
|
void |
setAai(java.lang.String aai)
Set the aai attribute.
|
void |
setCallerid(java.lang.String callerid)
Set the callerid attribute.
|
void |
setConnectionid(java.lang.String connectionid)
Set the connectionid attribute.
|
void |
setDest(java.lang.String dest)
Set the dest attribute.
|
void |
setHints(java.lang.String hints)
Set the hints attribute.
|
void |
setJoindirection(java.lang.String joindirection)
Set the joindirection attribute.
|
void |
setJoinid(java.lang.String joinid)
Set the joinid attribute.
|
void |
setTimeout(java.lang.String timeout)
Set the timeout 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_AAI
public static final java.lang.String ATTRIBUTE_CALLERID
public static final java.lang.String ATTRIBUTE_CONNECTIONID
public static final java.lang.String ATTRIBUTE_DEST
public static final java.lang.String ATTRIBUTE_HINTS
public static final java.lang.String ATTRIBUTE_JOINDIRECTION
public static final java.lang.String ATTRIBUTE_JOINID
<join> immediately following the
<createcall> except that no events specific to
the join will be generated. However, platforms may use knowledge about
the connection/conference/dialog to which the new call will be connected
to optimize the call creation process.public static final java.lang.String ATTRIBUTE_TIMEOUT
protected static final java.util.ArrayList<java.lang.String> ATTRIBUTE_NAMES
public Createcall()
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 getAai()
ATTRIBUTE_AAIpublic void setAai(java.lang.String aai)
aai - Value of the aai attribute.ATTRIBUTE_AAIpublic java.lang.String getCallerid()
ATTRIBUTE_CALLERIDpublic void setCallerid(java.lang.String callerid)
callerid - Value of the callerid attribute.ATTRIBUTE_CALLERIDpublic java.lang.String getConnectionid()
ATTRIBUTE_CONNECTIONIDpublic void setConnectionid(java.lang.String connectionid)
connectionid - Value of the connectionid attribute.ATTRIBUTE_CONNECTIONIDpublic java.lang.String getDest()
ATTRIBUTE_DESTpublic void setDest(java.lang.String dest)
dest - Value of the dest attribute.ATTRIBUTE_DESTpublic java.lang.String getHints()
ATTRIBUTE_HINTSpublic void setHints(java.lang.String hints)
hints - Value of the hints attribute.ATTRIBUTE_HINTSpublic java.lang.String getJoindirection()
ATTRIBUTE_JOINDIRECTIONpublic void setJoindirection(java.lang.String joindirection)
joindirection - Value of the joindirection attribute.ATTRIBUTE_JOINDIRECTIONpublic java.lang.String getJoinid()
ATTRIBUTE_JOINIDpublic void setJoinid(java.lang.String joinid)
joinid - Value of the joinid attribute.ATTRIBUTE_JOINIDpublic java.lang.String getTimeout()
ATTRIBUTE_TIMEOUTpublic void setTimeout(java.lang.String timeout)
timeout - Value of the timeout attribute.ATTRIBUTE_TIMEOUTprotected 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