public class CDataNode extends TextNode
EmptyString, parentNode, siblingIndex
Constructor and Description |
---|
CDataNode(java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
CDataNode |
clone()
Create a stand-alone, deep copy of this node, and all of its children.
|
java.lang.String |
nodeName()
Get the node name of this node.
|
(package private) void |
outerHtmlHead(java.lang.Appendable accum,
int depth,
Document.OutputSettings out)
Get the outer HTML of this node.
|
(package private) void |
outerHtmlTail(java.lang.Appendable accum,
int depth,
Document.OutputSettings out) |
java.lang.String |
text()
Get the unencoded, non-normalized text content of this CDataNode.
|
createFromEncoded, getWholeText, isBlank, lastCharIsWhitespace, normaliseWhitespace, splitText, stripLeadingWhitespace, text, toString
absUrl, attr, attr, attributes, baseUri, childNodeSize, coreValue, coreValue, doClone, doSetBaseUri, empty, ensureChildNodes, hasAttr, hasAttributes, removeAttr
addChildren, addChildren, after, after, before, before, childNode, childNodes, childNodesAsArray, childNodesCopy, clearAttributes, equals, filter, hasParent, hasSameValue, html, indent, nextSibling, nodelistChanged, outerHtml, outerHtml, ownerDocument, parent, parentNode, previousSibling, remove, removeChild, reparentChild, replaceChild, replaceWith, root, setBaseUri, setParentNode, setSiblingIndex, shallowClone, siblingIndex, siblingNodes, traverse, unwrap, wrap
public java.lang.String nodeName()
Node
public java.lang.String text()
text
in class TextNode
TextNode.getWholeText()
void outerHtmlHead(java.lang.Appendable accum, int depth, Document.OutputSettings out) throws java.io.IOException
Node
outerHtmlHead
in class TextNode
accum
- accumulator to place HTML intojava.io.IOException
- if appending to the given accumulator fails.void outerHtmlTail(java.lang.Appendable accum, int depth, Document.OutputSettings out)
outerHtmlTail
in class TextNode
public CDataNode clone()
Node
The cloned node may be adopted into another Document or node structure using Element.appendChild(Node)
.
clone
in class TextNode
Node.shallowClone()