|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.xml.AbstractXmlNode
org.jvoicexml.xml.ccxml.Ccxml
public final class Ccxml
This is the parent element of a CCXML document and encloses the entire CCXML
script in a document. When a <ccxml> is executed, its
child elements are collected logically together at the beginning of the
document and executed in document order before the target
<eventprocessor>. This is called document
initialization.
Copyright © 2005 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Field Summary | |
|---|---|
protected static ArrayList<String> |
ATTRIBUTE_NAMES
Supported attribute names for this node. |
static String |
ATTRIBUTE_VERSION
The version of CCXML of this document (required). |
static String |
ATTRIBUTE_XML_BASE
The base URI for this document as defined in XML Base, J. |
static String |
ATTRIBUTE_XMLNS
The designated namespace for CCXXML (required). |
static String |
DEFAULT_VERSION
Default cc xml version number. |
static String |
DEFAULT_XMLNS
Default namespace. |
static String |
TAG_NAME
Name of the tag. |
| Constructor Summary | |
|---|---|
Ccxml()
Construct a new ccxml object without a node. |
|
| Method Summary | |
|---|---|
protected boolean |
canContainChild(String tagName)
Can the specified sub-tag be contained within this node? |
Collection<String> |
getAttributeNames()
Returns a collection of permitted attribute names for the node. |
NodeList |
getChildNodes()
A NodeList that contains all children of this node. |
String |
getTagName()
Get the name of the tag for the derived node. |
String |
getVersion()
Retrieve the version attribute. |
String |
getXmlBase()
Retrieve the xmlBase attribute. |
XmlNode |
newInstance(Node n)
Create a new instance for the given node. |
void |
setVersion(String version)
Set the version attribute. |
void |
setXmlBase(String xmlBase)
Set the xmlBase attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jvoicexml.xml.XmlNode |
|---|
addChild, getAttribute, getChildNodes, getNode, setAttribute |
| Methods inherited from interface org.jvoicexml.xml.XmlWritable |
|---|
writeChildrenXml, writeXml |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, 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, setUserData |
| Field Detail |
|---|
public static final String TAG_NAME
public static final String DEFAULT_VERSION
ATTRIBUTE_VERSION,
Constant Field Valuespublic static final String ATTRIBUTE_VERSION
DEFAULT_VERSION.
DEFAULT_VERSION,
Constant Field Valuespublic static final String DEFAULT_XMLNS
ATTRIBUTE_XMLNS,
Constant Field Valuespublic static final String ATTRIBUTE_XMLNS
DEFAULT_XMLNS
public static final String ATTRIBUTE_XML_BASE
protected static final ArrayList<String> ATTRIBUTE_NAMES
| Constructor Detail |
|---|
public Ccxml()
This is necessary for the node factory.
VoiceXmlNodeFactory| Method Detail |
|---|
public String getTagName()
public XmlNode newInstance(Node n)
n - The node to encapsulate.
XmlNodeFactorypublic String getVersion()
ATTRIBUTE_VERSIONpublic void setVersion(String version)
version - Value of the version attribute.ATTRIBUTE_VERSIONpublic String getXmlBase()
ATTRIBUTE_XML_BASEpublic void setXmlBase(String xmlBase)
xmlBase - Value of the xmlBase attribute.ATTRIBUTE_XML_BASEprotected boolean canContainChild(String tagName)
canContainChild in class AbstractXmlNodetagName - Name of child.
public Collection<String> getAttributeNames()
getAttributeNames in interface XmlNodegetAttributeNames in class AbstractXmlNodepublic final NodeList getChildNodes()
NodeList that contains all children of this node.
getChildNodes in interface Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||