org.w3c.dom.CharacterData, org.w3c.dom.Node, org.w3c.dom.TextDOMCDATASectionImplpublic class DOMTextImpl extends DOMCharacterDataImpl implements org.w3c.dom.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 | Description |
|---|---|---|
protected |
DOMTextImpl(Node adaptee) |
Instantiates a new DOM text node.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getNodeName() |
|
short |
getNodeType() |
|
java.lang.String |
getWholeText() |
|
boolean |
isElementContentWhitespace() |
|
org.w3c.dom.Text |
replaceWholeText(java.lang.String content) |
|
org.w3c.dom.Text |
splitText(int offset) |
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataappendData, 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, supportsappendChild, 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 java.lang.String getNodeName()
getNodeName in interface org.w3c.dom.NodegetNodeName in class DOMNodeImplNode.getNodeName()public short getNodeType()
getNodeType in interface org.w3c.dom.NodegetNodeType in class DOMNodeImplNode.getNodeType()public org.w3c.dom.Text splitText(int offset)
throws org.w3c.dom.DOMException
splitText in interface org.w3c.dom.Textorg.w3c.dom.DOMExceptionText.splitText(int)public java.lang.String getWholeText()
getWholeText in interface org.w3c.dom.TextText.getWholeText()public boolean isElementContentWhitespace()
isElementContentWhitespace in interface org.w3c.dom.TextText.isElementContentWhitespace()public org.w3c.dom.Text replaceWholeText(java.lang.String content)
throws org.w3c.dom.DOMException
replaceWholeText in interface org.w3c.dom.Textorg.w3c.dom.DOMExceptionText.isElementContentWhitespace()