public final class Createccxml extends AbstractXmlNode
<createccxml> is used to create another CCXML session,
which begins execution with the document identified by this element. The term
"session" is not meant to imply a particular form of implementation. A CCXML
session exists for each concurrently executing CCXML document. A session
provides independent execution and a separate variable space for the CCXML
documents it executes. A session is associated with one or more event sources
and will receive events only from those endpoints. The execution of a CCXML
document MAY add or subtract event sources from a session. The new CCXML
session has no relation to its creator once spawned, and has a wholly
separate lifetime and address space.
Execution returns from the <createccxml> element
immediately, and the CCXML interpreter can continue on while the new CCXML
session is established and loads its initial document. If the new session is
successfully established or a failure occurs an event is generated and is
delivered to the session that executed the <createccxml>
element.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_ENCTYPE
An ECMAScript expression which returns a character string that indicates
the media encoding type of the submitted document (when the value of the
method is "post").
|
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_METHOD
The character string returned is interpreted as a time interval.
|
static java.lang.String |
ATTRIBUTE_NAMELIST
A list of zero 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_NEXT
An ECMAScript expression which returns the URI of the resource to be
fetched.
|
static java.lang.String |
ATTRIBUTE_SESSIONID
An ECMAScript left hand side expression evaluating to a previously
defined variable.
|
static java.lang.String |
ATTRIBUTE_TIMEOUT
An ECMAScript left hand side expression evaluating to a previously
defined variable.
|
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 |
|---|
Createccxml()
Construct a new createccxml 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 |
getEnctype()
Retrieve the enctype attribute.
|
java.lang.String |
getMaxage()
Retrieve the maxage attribute.
|
java.lang.String |
getMaxstale()
Retrieve the maxstale attribute.
|
java.lang.String |
getMethod()
Retrieve the method attribute.
|
java.lang.String |
getNamelist()
Retrieve the namelist attribute.
|
java.lang.String |
getNext()
Retrieve the next attribute.
|
java.lang.String |
getSessionid()
Retrieve the sessionid 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 |
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 |
setMethod(java.lang.String method)
Set the method attribute.
|
void |
setNamelist(java.lang.String namelist)
Set the namelist attribute.
|
void |
setNext(java.lang.String next)
Set the next attribute.
|
void |
setSessionid(java.lang.String sessionid)
Set the sessionid 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_ENCTYPE
public static final java.lang.String ATTRIBUTE_MAXAGE
public static final java.lang.String ATTRIBUTE_MAXSTALE
public static final java.lang.String ATTRIBUTE_METHOD
public static final java.lang.String ATTRIBUTE_NAMELIST
public static final java.lang.String ATTRIBUTE_NEXT
public static final java.lang.String ATTRIBUTE_SESSIONID
public static final java.lang.String ATTRIBUTE_TIMEOUT
protected static final java.util.ArrayList<java.lang.String> ATTRIBUTE_NAMES
public Createccxml()
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 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 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 getNext()
ATTRIBUTE_NEXTpublic void setNext(java.lang.String next)
next - Value of the next attribute.ATTRIBUTE_NEXTpublic java.lang.String getSessionid()
ATTRIBUTE_SESSIONIDpublic void setSessionid(java.lang.String sessionid)
sessionid - Value of the sessionid attribute.ATTRIBUTE_SESSIONIDpublic 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