public class TextImpl extends CharacterDataImpl implements Text
This interface is effectively read-only: Setters and update methods inherited
from org.w3c.Node are not supported and will raise an exception
if called.
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 |
|---|
TextImpl(ExpandedTree tree,
int node) |
| Modifier and Type | Method and Description |
|---|---|
protected Node |
cloneNode(Document doc,
boolean deep)
Given a owner document, clone the node
|
String |
getNodeName() |
String |
getTextContent()
Overwritten by TextImpl, CommentImpl and ProcessingInstructionImpl
|
String |
getWholeText()
Unsupported.
|
boolean |
isElementContentWhitespace()
Unsupported.
|
Text |
replaceWholeText(String content)
Unsupported.
|
Text |
splitText(int offset)
Unsupported.
|
appendData, deleteData, getData, getLength, getNodeValue, insertData, replaceData, setData, substringDataappendChild, builtinNSPrefix, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getElementsByTagNameNSOrNodeName, getExpandedTree, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextChild, getNextSibling, getNodeType, getNSNodeID, getNSNodeID, getOwnerDocument, getParentNode, getPrefix, getPrefixID, getPreviousChild, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, nextNSNodeID, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic TextImpl(ExpandedTree tree, int node)
protected Node cloneNode(Document doc, boolean deep)
NodeImplpublic String getNodeName()
NodeImplgetNodeName in interface NodegetNodeName in class NodeImplpublic String getTextContent() throws DOMException
NodeImplgetTextContent in interface NodegetTextContent in class NodeImplDOMExceptionpublic String getWholeText()
getWholeText in interface Textpublic boolean isElementContentWhitespace()
isElementContentWhitespace in interface Textpublic Text replaceWholeText(String content) throws DOMException
replaceWholeText in interface TextDOMExceptionpublic Text splitText(int offset) throws DOMException
splitText in interface TextDOMExceptionCopyright © 2021 MarkLogic Corporation
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com