Class DOMTextImpl
java.lang.Object
org.w3c.tidy.DOMNodeImpl
org.w3c.tidy.DOMCharacterDataImpl
org.w3c.tidy.DOMTextImpl
- All Implemented Interfaces:
CharacterData, Node, Text
- Direct Known Subclasses:
DOMCDATASectionImpl
DOMTextImpl.
- Version:
- $Revision$ ($Author$)
- Author:
- Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina
-
Field Summary
Fields inherited from class DOMNodeImpl
adapteeFields inherited from interface Node
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 Summary
ConstructorsModifierConstructorDescriptionprotectedDOMTextImpl(Node adaptee) Instantiates a new DOM text node. -
Method Summary
Modifier and TypeMethodDescriptionshortTODO DOM level 3 getWholeText() Not implemented.booleanTODO DOM level 3 isElementContentWhitespace() Not implemented.replaceWholeText(String content) TODO DOM level 3 replaceWholeText() Not implemented.splitText(int offset) TODO DOM level 2 splitText() Not supported.Methods inherited from class DOMCharacterDataImpl
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataMethods inherited from class DOMNodeImpl
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, supportsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataMethods inherited from interface Node
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
-
Constructor Details
-
DOMTextImpl
Instantiates a new DOM text node.- Parameters:
adaptee- wrapped Tidy node
-
-
Method Details
-
getNodeName
- Specified by:
getNodeNamein interfaceNode- Overrides:
getNodeNamein classDOMNodeImpl- See Also:
-
getNodeType
public short getNodeType()- Specified by:
getNodeTypein interfaceNode- Overrides:
getNodeTypein classDOMNodeImpl- See Also:
-
splitText
TODO DOM level 2 splitText() Not supported. Throws NO_MODIFICATION_ALLOWED_ERR.- Specified by:
splitTextin interfaceText- Throws:
DOMException- See Also:
-
getWholeText
TODO DOM level 3 getWholeText() Not implemented. Returns null.- Specified by:
getWholeTextin interfaceText- See Also:
-
isElementContentWhitespace
public boolean isElementContentWhitespace()TODO DOM level 3 isElementContentWhitespace() Not implemented. Returns false.- Specified by:
isElementContentWhitespacein interfaceText- See Also:
-
replaceWholeText
TODO DOM level 3 replaceWholeText() Not implemented. Returns the same node.- Specified by:
replaceWholeTextin interfaceText- Throws:
DOMException- See Also:
-