public class DOMTextImpl extends DOMCharacterDataImpl implements 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 |
---|---|
String |
getNodeName() |
short |
getNodeType() |
String |
getWholeText() |
boolean |
isElementContentWhitespace() |
Text |
replaceWholeText(String content) |
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 String getNodeName()
getNodeName
in interface Node
getNodeName
in class DOMNodeImpl
Node.getNodeName()
public short getNodeType()
getNodeType
in interface Node
getNodeType
in class DOMNodeImpl
Node.getNodeType()
public Text splitText(int offset) throws DOMException
splitText
in interface Text
DOMException
Text.splitText(int)
public String getWholeText()
getWholeText
in interface Text
Text.getWholeText()
public boolean isElementContentWhitespace()
isElementContentWhitespace
in interface Text
Text.isElementContentWhitespace()
public Text replaceWholeText(String content) throws DOMException
replaceWholeText
in interface Text
DOMException
Text.isElementContentWhitespace()
Copyright © 2000–2012 sourceforge. All rights reserved.