public class DOMTextImpl extends DOMCharacterDataImpl implements org.w3c.dom.Text
adaptee
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
Modifier | Constructor and Description |
---|---|
protected |
DOMTextImpl(Node adaptee)
Instantiates a new DOM text node.
|
Modifier and Type | Method and 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, substringData
appendChild, 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, supports
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData
appendChild, 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
protected DOMTextImpl(Node adaptee)
adaptee
- wrapped Tidy nodepublic java.lang.String getNodeName()
getNodeName
in interface org.w3c.dom.Node
getNodeName
in class DOMNodeImpl
Node.getNodeName()
public short getNodeType()
getNodeType
in interface org.w3c.dom.Node
getNodeType
in class DOMNodeImpl
Node.getNodeType()
public org.w3c.dom.Text splitText(int offset) throws org.w3c.dom.DOMException
splitText
in interface org.w3c.dom.Text
org.w3c.dom.DOMException
Text.splitText(int)
public java.lang.String getWholeText()
getWholeText
in interface org.w3c.dom.Text
Text.getWholeText()
public boolean isElementContentWhitespace()
isElementContentWhitespace
in interface org.w3c.dom.Text
Text.isElementContentWhitespace()
public org.w3c.dom.Text replaceWholeText(java.lang.String content) throws org.w3c.dom.DOMException
replaceWholeText
in interface org.w3c.dom.Text
org.w3c.dom.DOMException
Text.isElementContentWhitespace()
Copyright © 2000–2017 sourceforge. All rights reserved.