|
||||||||||
| 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.Createcall
public final class Createcall
A CCXML document can attempt to place an outgoing call with
<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.
Copyright © 2005 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Field Summary | |
|---|---|
static 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 String |
ATTRIBUTE_CALLERID
An ECMAScript expression which returns a string defining the caller identity to be used when making the outbound connection. |
static String |
ATTRIBUTE_CONNECTIONID
An ECMAScript expression which returns a string defining the caller identity to be used when making the outbound connection. |
static String |
ATTRIBUTE_DEST
An ECMAScript expression which returns a string that is the target of the outbound telephone call. |
static 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 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 String |
ATTRIBUTE_JOINID
An ECMAScript expression that identifies a connection, conference, or dialog ID that the new call will be joined to. |
protected static ArrayList<String> |
ATTRIBUTE_NAMES
Supported attribute names for this node. |
static String |
ATTRIBUTE_TIMEOUT
The character string returned is interpreted as a time interval. |
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 | |
|---|---|
Createcall()
Construct a new createcall object without a node. |
|
Createcall(Node node)
Construct a new createcall object. |
|
| Method Summary | |
|---|---|
protected boolean |
canContainChild(String tagName)
Can the specified sub-tag be contained within this node? |
String |
getAai()
Retrieve the aai attribute. |
Collection<String> |
getAttributeNames()
Returns a collection of permitted attribute names for the node. |
String |
getCallerid()
Retrieve the callerid attribute. |
String |
getConnectionid()
Retrieve the connectionid attribute. |
String |
getDest()
Retrieve the dest attribute. |
String |
getHints()
Retrieve the hints attribute. |
String |
getJoindirection()
Retrieve the joindirection attribute. |
String |
getJoinid()
Retrieve the joinid 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 |
setAai(String aai)
Set the aai attribute. |
void |
setCallerid(String callerid)
Set the callerid attribute. |
void |
setConnectionid(String connectionid)
Set the connectionid attribute. |
void |
setDest(String dest)
Set the dest attribute. |
void |
setHints(String hints)
Set the hints attribute. |
void |
setJoindirection(String joindirection)
Set the joindirection attribute. |
void |
setJoinid(String joinid)
Set the joinid 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_AAI
public static final String ATTRIBUTE_CALLERID
public static final String ATTRIBUTE_CONNECTIONID
public static final String ATTRIBUTE_DEST
public static final String ATTRIBUTE_HINTS
public static final String ATTRIBUTE_JOINDIRECTION
public static final 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 String ATTRIBUTE_TIMEOUT
protected static final ArrayList<String> ATTRIBUTE_NAMES
private static final Set<String> CHILD_TAGS
| Constructor Detail |
|---|
public Createcall()
This is necessary for the node factory.
VoiceXmlNodeFactoryCreatecall(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 getAai()
ATTRIBUTE_AAIpublic void setAai(String aai)
aai - Value of the aai attribute.ATTRIBUTE_AAIpublic String getCallerid()
ATTRIBUTE_CALLERIDpublic void setCallerid(String callerid)
callerid - Value of the callerid attribute.ATTRIBUTE_CALLERIDpublic String getConnectionid()
ATTRIBUTE_CONNECTIONIDpublic void setConnectionid(String connectionid)
connectionid - Value of the connectionid attribute.ATTRIBUTE_CONNECTIONIDpublic String getDest()
ATTRIBUTE_DESTpublic void setDest(String dest)
dest - Value of the dest attribute.ATTRIBUTE_DESTpublic String getHints()
ATTRIBUTE_HINTSpublic void setHints(String hints)
hints - Value of the hints attribute.ATTRIBUTE_HINTSpublic String getJoindirection()
ATTRIBUTE_JOINDIRECTIONpublic void setJoindirection(String joindirection)
joindirection - Value of the joindirection attribute.ATTRIBUTE_JOINDIRECTIONpublic String getJoinid()
ATTRIBUTE_JOINIDpublic void setJoinid(String joinid)
joinid - Value of the joinid attribute.ATTRIBUTE_JOINIDpublic 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 | |||||||||