public final class Send extends AbstractXmlNode
<send> is used to send messages containing events or
other information directly to another CCXML Interpreter other external
systems using an Event I/O Processor.
The event target of <send/> is specified using the target and targettype
attributes. These attributes control how the platform should dispatch the
event to its final destination.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_DATA
An ECMAScript expression which returns a character string that indicates
the type of event being generated.
|
static java.lang.String |
ATTRIBUTE_DELAY
The character string returned is interpreted as a time interval.
|
static java.lang.String |
ATTRIBUTE_HINTS
The ECMAScript object returned contains information which may be used by
the implementing platform to configure the event processor.
|
static java.lang.String |
ATTRIBUTE_NAMELIST
A list of zero or more whitespace separated CCXML variable names to be
included with the event.
|
protected static java.util.ArrayList<java.lang.String> |
ATTRIBUTE_NAMES
Supported attribute names for this node.
|
static java.lang.String |
ATTRIBUTE_SENDID
An ECMAScript left hand side expression evaluating to a previously
defined variable.
|
static java.lang.String |
ATTRIBUTE_TARGET
An ECMAScript expression returning the target location of the event.
|
static java.lang.String |
ATTRIBUTE_TARGETTYPE
An ECMAScript expression which returns a character string that specifies
the type of the Event I/O Processor that the event should be dispatched
to.
|
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 |
|---|
Send()
Construct a new send 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 |
getData()
Retrieve the data attribute.
|
java.lang.String |
getDelay()
Retrieve the delay attribute.
|
java.lang.String |
getHints()
Retrieve the hints attribute.
|
java.lang.String |
getNamelist()
Retrieve the namelist attribute.
|
java.lang.String |
getSendid()
Retrieve the sendid attribute.
|
java.lang.String |
getTagName()
Get the name of the tag for the derived node.
|
java.lang.String |
getTarget()
Retrieve the target attribute.
|
java.lang.String |
getTargettype()
Retrieve the targettype attribute.
|
XmlNode |
newInstance(org.w3c.dom.Node n,
XmlNodeFactory<? extends XmlNode> factory)
Create a new instance for the given node.
|
void |
setData(java.lang.String data)
Set the data attribute.
|
void |
setDelay(java.lang.String delay)
Set the delay attribute.
|
void |
setHints(java.lang.String hints)
Set the hints attribute.
|
void |
setNamelist(java.lang.String namelist)
Set the namelist attribute.
|
void |
setSendid(java.lang.String sendid)
Set the sendid attribute.
|
void |
setTarget(java.lang.String target)
Set the target attribute.
|
void |
setTargettype(java.lang.String targettype)
Set the targettype 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_DATA
public static final java.lang.String ATTRIBUTE_DELAY
public static final java.lang.String ATTRIBUTE_HINTS
public static final java.lang.String ATTRIBUTE_NAMELIST
public static final java.lang.String ATTRIBUTE_SENDID
public static final java.lang.String ATTRIBUTE_TARGET
public static final java.lang.String ATTRIBUTE_TARGETTYPE
protected static final java.util.ArrayList<java.lang.String> ATTRIBUTE_NAMES
public Send()
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 getData()
ATTRIBUTE_DATApublic void setData(java.lang.String data)
data - Value of the data attribute.ATTRIBUTE_DATApublic java.lang.String getDelay()
ATTRIBUTE_DELAYpublic void setDelay(java.lang.String delay)
delay - Value of the delay attribute.ATTRIBUTE_DELAYpublic java.lang.String getHints()
ATTRIBUTE_HINTSpublic void setHints(java.lang.String hints)
hints - Value of the hints attribute.ATTRIBUTE_HINTSpublic java.lang.String getNamelist()
ATTRIBUTE_NAMELISTpublic void setNamelist(java.lang.String namelist)
namelist - Value of the namelist attribute.ATTRIBUTE_NAMELISTpublic java.lang.String getSendid()
ATTRIBUTE_SENDIDpublic void setSendid(java.lang.String sendid)
sendid - Value of the sendid attribute.ATTRIBUTE_SENDIDpublic java.lang.String getTarget()
ATTRIBUTE_TARGETpublic void setTarget(java.lang.String target)
target - Value of the target attribute.ATTRIBUTE_TARGETpublic java.lang.String getTargettype()
ATTRIBUTE_TARGETTYPEpublic void setTargettype(java.lang.String targettype)
targettype - Value of the targettype attribute.ATTRIBUTE_TARGETTYPEprotected 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