public final class CcxmlDocument extends XmlDocument
CCXML is designed to provide telephony call control support for dialog systems, such as VoiceXML [VOICEXML]. While CCXML can be used with any dialog systems capable of handling media, CCXML has been designed to complement and integrate with a VoiceXML interpreter.
Objects of this class can create such CCXML documents or parse them.
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 |
|---|
CcxmlDocument()
Create an empty CCXML document containg only the root Ccxml element.
|
CcxmlDocument(org.w3c.dom.Document doc)
Construct a new CCXML document with the given document.
|
CcxmlDocument(org.xml.sax.InputSource source)
Constructs a new CCXML document from the given input source.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.w3c.dom.Node |
createRootNode()
Create a new Ccxml node.
|
Ccxml |
getCcxml()
Get the one and only child of this document: The Ccxml node.
|
protected java.lang.String |
getDefaultNamespaceURI()
Retrieves the default namespace.
|
XmlNodeFactory<?> |
getXmlNodefactory()
Retrieves the node factory for child node lists.
|
protected org.w3c.dom.NodeList |
getXmlNodeList(org.w3c.dom.NodeList nodeList)
Get the XmlNodeList object corresponding to the nodelist.
|
adoptNode, appendChild, cloneNode, compareDocumentPosition, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getAttributes, getBaseURI, getChildNodes, getDoctype, getDocument, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getImplementation, getInputEncoding, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getStrictErrorChecking, getTextContent, getUserData, getXmlEncoding, getXmlNode, getXmlStandalone, getXmlVersion, hasAttributes, hasChildNodes, importNode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, normalizeDocument, removeChild, renameNode, replaceChild, setDocumentURI, setNodeValue, setPrefix, setStrictErrorChecking, setTextContent, setUserData, setXmlStandalone, setXmlVersion, toString, toXmlpublic CcxmlDocument()
throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException - Error creating the document builder.public CcxmlDocument(org.xml.sax.InputSource source)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
source - Input source for a single XML document.javax.xml.parsers.ParserConfigurationException - Error creating the document builder.org.xml.sax.SAXException - Error parsing the input source.java.io.IOException - Error reading the input source.public CcxmlDocument(org.w3c.dom.Document doc)
doc - Encapsulated document.public XmlNodeFactory<?> getXmlNodefactory()
getXmlNodefactory in class XmlDocumentprotected org.w3c.dom.Node createRootNode()
createRootNode in class XmlDocumentpublic Ccxml getCcxml()
null if there is none.protected org.w3c.dom.NodeList getXmlNodeList(org.w3c.dom.NodeList nodeList)
getXmlNodeList in class XmlDocumentnodeList - -
Node to convert to an XmlNodeListprotected java.lang.String getDefaultNamespaceURI()
getDefaultNamespaceURI in class XmlDocumentnull.