public abstract class TextNodeImpl extends LeafNode implements org.apache.axiom.dom.DOMTextNode, org.apache.axiom.om.impl.intf.AxiomText
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 |
|---|
TextNodeImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getData() |
boolean |
isElementContentWhitespace() |
Text |
splitText(int offset)
Breaks this node into two nodes at the specified offset, keeping both in the tree as
siblings.
|
String |
toString() |
compareDocumentPosition, coreGetNodeFactory, getBaseURI, getBuilder, getFeature, getMetaFactory, getUserData, isEqualNode, isSameNode, normalize, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendData, deleteData, getLength, getNodeValue, insertData, replaceData, setNodeValue, substringDataappendChild, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceContext, getNamespaceURI, getOwnerDocument, getPrefix, getTextContent, hasAttributes, hasChildNodes, insertBefore, removeChild, replaceChild, setPrefix, setTextContentgetNextSibling, getParentNode, getPreviousSiblingcloneNode, isDefaultNamespace, isSupported, lookupNamespaceURI, lookupPrefix, normalizecompareDocumentPosition, getBaseURI, getFeature, getNodeName, getNodeType, getUserData, isEqualNode, isSameNode, normalize, setUserDatacoreClone, coreDetach, coreGetNextSibling, coreGetNextSibling, coreGetNextSiblingIfAvailable, coreGetParent, coreGetParentElement, coreGetPreviousSibling, coreGetPreviousSibling, coreHasParent, coreInsertSiblingAfter, coreInsertSiblingBefore, coreInsertSiblingsBefore, coreReplaceWith, coreSetNextSibling, coreSetOwnerDocument, coreSetPreviousSibling, getRootOrOwnerDocument, internalSetParent, internalUnsetParentsetDatabuildWithAttachments, getContentID, getDataHandler, getNamespace, getText, getTextAsQName, getTextCharacters, internalSerialize, isBinary, isCharacters, isOptimized, setBinary, setContentID, setOptimizediscard, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setCompletedetach, getNextOMSibling, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBeforebuild, close, isComplete, serialize, serialize, serializeAndConsumeclose, getBuilder, serialize, serialize, serializeAndConsumeclone, getMetaFactory, getOMFactorypublic Text splitText(int offset) throws DOMException
splitText in interface TextDOMExceptionpublic String getData() throws DOMException
getData in interface CharacterDataDOMExceptionpublic boolean isElementContentWhitespace()
isElementContentWhitespace in interface TextCopyright © The Apache Software Foundation. All Rights Reserved.