public class CData extends Text implements CDATASection
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
Modifier and Type | Method and Description |
---|---|
void |
accept(XMLNodeVisitor visitor) |
String |
getNodeName() |
short |
getNodeType() |
String |
getNodeValue() |
void |
setData(String data)
The character data of the node that implements this interface.
|
appendData, deleteData, getData, getLength, getNamespaceURI, getText, getWholeText, insertData, isElementContentWhitespace, replaceData, replaceWholeText, setText, splitText, substringData
addedToTree, appendChild, assignNodeId, assignNodeIdRecursively, clone, cloneNamespacePrefixes, cloneNode, cloneNode, cloneNode, cloneShallowWithModelContext, compareDocumentPosition, copy, copyTokens, getAttributes, getAttributesForRead, getAttributesForWrite, getBaseURI, getChildNodes, getFeature, getFirstChild, getId, getIndexOfChild, getLastChild, getLocalName, getModel, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getTokens, getUserData, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isEquivalentNode, isInTree, isSameNode, isSupported, lookupNamespace, lookupNamespace, lookupNamespaceURI, lookupPrefix, lookupPrefix, normalize, removeChild, reorderChild, reorderChildren, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
getWholeText, isElementContentWhitespace, replaceWholeText, splitText
appendData, deleteData, getData, getLength, insertData, replaceData, substringData
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
addedToTree, clone, getId, getIndexOfChild, getNamespaceURI, isEquivalentNode, isInTree
public void accept(XMLNodeVisitor visitor)
public String getNodeValue()
getNodeValue
in interface Node
getNodeValue
in class Text
public void setData(String data)
Text
CharacterData
node. However,
implementation limits may mean that the entirety of a node's data may
not fit into a single DOMString
. In such cases, the user
may call substringData
to retrieve the data in
appropriately sized pieces.setData
in interface CharacterData
setData
in class Text
public short getNodeType()
getNodeType
in interface Node
getNodeType
in class Text
public String getNodeName()
getNodeName
in interface Node
getNodeName
in class Text