|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.xml.XmlNode
org.jvoicexml.xml.ccxml.CcxmlNode
org.jvoicexml.xml.ccxml.Text
public final class Text
Implementaion of a text node.
Copyright © 2005 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Field Summary | |
|---|---|
static String |
TAG_NAME
Name of the block tag. |
| Fields inherited from class org.jvoicexml.xml.XmlNode |
|---|
node |
| Constructor Summary | |
|---|---|
Text()
Construct a new text object without a node. |
|
Text(Node node)
Construct a new text node. |
|
| Method Summary | |
|---|---|
protected boolean |
canContainChild(String tagName)
Can the specified sub-tag be contained within this node? |
String |
getTagName()
Get the name of the tag for the derived node. |
XmlNode |
newInstance(Node n)
Create a new instance for the given node. |
void |
writeXml(XmlWriter writer)
This is the primary method used to write an object and its children as XML text. |
| Methods inherited from class org.jvoicexml.xml.ccxml.CcxmlNode |
|---|
getChildNodes, getFirstChild, getLastChild, getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.jvoicexml.xml.XmlNode |
|---|
addChild, appendChild, cloneNode, compareDocumentPosition, getAttribute, getAttributeNames, getAttributes, getBaseURI, getChildNodes, getFeature, getLocalName, getNamespaceURI, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getPrefix, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setAttribute, setNodeValue, setPrefix, setTextContent, setUserData, toString, writeChildrenXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TAG_NAME
| Constructor Detail |
|---|
public Text()
This is necessary for the node factory.
VoiceXmlNodeFactorypublic Text(Node node)
node - The encapsulated node.| Method Detail |
|---|
public String getTagName()
getTagName in class XmlNode
public void writeXml(XmlWriter writer)
throws IOException
writeXml in interface XmlWritablewriteXml in class XmlNodewriter - XMLWriter used when writing XML text.
IOException - Error in writing.public XmlNode newInstance(Node n)
newInstance in class XmlNoden - The node to encapsulate.
protected boolean canContainChild(String tagName)
canContainChild in class XmlNodetagName - Name of child.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||