public class DOMTextImpl extends DOMCharacterDataImpl implements Text
adapteeATTRIBUTE_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 | Constructor and Description |
|---|---|
protected |
DOMTextImpl(Node adaptee)
Instantiates a new DOM text node.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNodeName() |
short |
getNodeType() |
String |
getWholeText() |
boolean |
isElementContentWhitespace() |
Text |
replaceWholeText(String content) |
Text |
splitText(int offset) |
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, supportsclone, 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, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataprotected DOMTextImpl(Node adaptee)
adaptee - wrapped Tidy nodepublic String getNodeName()
getNodeName in interface NodegetNodeName in class DOMNodeImplNode.getNodeName()public short getNodeType()
getNodeType in interface NodegetNodeType in class DOMNodeImplNode.getNodeType()public Text splitText(int offset) throws DOMException
splitText in interface TextDOMExceptionText.splitText(int)public String getWholeText()
getWholeText in interface TextText.getWholeText()public boolean isElementContentWhitespace()
isElementContentWhitespace in interface TextText.isElementContentWhitespace()public Text replaceWholeText(String content) throws DOMException
replaceWholeText in interface TextDOMExceptionText.isElementContentWhitespace()Copyright © 2000–2012 sourceforge. All rights reserved.