|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.xml.XmlDocument
org.jvoicexml.xml.ccxml.CcxmlDocument
public final class CcxmlDocument
A CCXML document according to the specifcation in http://www.w3.org/TR/ccxml.
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.
Copyright © 2005 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Field Summary |
|---|
| Fields inherited from class org.jvoicexml.xml.XmlDocument |
|---|
document |
| Constructor Summary | |
|---|---|
CcxmlDocument()
Create an empty CCXML document containg only the root Ccxml element. |
|
CcxmlDocument(Document doc)
Construct a new CCXML document with the given document. |
|
CcxmlDocument(InputSource source)
Constructs a new CCXML document from the given input source. |
|
| Method Summary | |
|---|---|
protected Node |
createRootNode()
Create a new Ccxml node. |
Ccxml |
getCcxml()
Get the one and only child of this document: The Ccxml node. |
protected Node |
getXmlNode(Node node)
Get the XmlNode object corresponding to the node. |
protected NodeList |
getXmlNodeList(NodeList nodeList)
Get the XmlNodeList object corresponding to the nodelist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CcxmlDocument()
throws ParserConfigurationException
ParserConfigurationException - Error creating the document builder.
public CcxmlDocument(InputSource source)
throws ParserConfigurationException,
SAXException,
IOException
source - Input source for a single XML document.
ParserConfigurationException - Error creating the document builder.
SAXException - Error parsing the input source.
IOException - Error reading the input source.public CcxmlDocument(Document doc)
doc - Encapsulated document.| Method Detail |
|---|
protected Node createRootNode()
createRootNode in class XmlDocumentpublic Ccxml getCcxml()
null if there is none.protected Node getXmlNode(Node node)
getXmlNode in class XmlDocumentnode - -
Node to convert to an XmlNode
protected NodeList getXmlNodeList(NodeList nodeList)
getXmlNodeList in class XmlDocumentnodeList - -
Node to convert to an XmlNodeList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||