Class DOMNodeImpl
java.lang.Object
org.w3c.tidy.DOMNodeImpl
- All Implemented Interfaces:
Node
- Direct Known Subclasses:
DOMAttrImpl, DOMCharacterDataImpl, DOMDocumentImpl, DOMDocumentTypeImpl, DOMElementImpl, DOMProcessingInstructionImpl
DOMNodeImpl.
- Version:
- $Revision$ ($Author$)
- Author:
- Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina
-
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendChild(Node newChild) cloneNode(boolean deep) shortcompareDocumentPosition(Node other) TODO DOM level 3 compareDocumentPosition() Not implemented.TODO DOM level 3 getBaseURI() Not implemented.getFeature(String feature, String version) TODO DOM level 3 getFeature() Not implemented.shortTODO DOM level 3 getTextContent() Not implemented.getUserData(String key) TODO DOM level 3 getUserData() Not implemented.booleanbooleaninsertBefore(Node newChild, Node refChild) booleanisDefaultNamespace(String namespaceURI) booleanisEqualNode(Node arg) TODO DOM level 3 isEqualNode() Not implemented.booleanisSameNode(Node other) TODO DOM level 3 isSameNode() Not implemented.booleanisSupported(String feature, String version) lookupNamespaceURI(String prefix) lookupPrefix(String namespaceURI) voidDo nothing: text nodes in html documents are important and jtidy already removes useless text during parsing.removeChild(Node oldChild) replaceChild(Node newChild, Node oldChild) voidsetNodeValue(String nodeValue) voidvoidsetTextContent(String textContent) TODO DOM level 3 setTextContent() Not implemented.setUserData(String key, Object data, UserDataHandler handler) TODO DOM level 3 setUserData() Not implemented.booleanDOM2 - not implemented.
-
Field Details
-
adaptee
Wrapped tidy node.
-
-
Constructor Details
-
DOMNodeImpl
Intantiates a new DOM node.- Parameters:
adaptee- wrapped Tidy node
-
-
Method Details
-
getNodeValue
- Specified by:
getNodeValuein interfaceNode- See Also:
-
setNodeValue
- Specified by:
setNodeValuein interfaceNode- See Also:
-
getNodeName
- Specified by:
getNodeNamein interfaceNode- See Also:
-
getNodeType
public short getNodeType()- Specified by:
getNodeTypein interfaceNode- See Also:
-
getParentNode
- Specified by:
getParentNodein interfaceNode- See Also:
-
getChildNodes
- Specified by:
getChildNodesin interfaceNode- See Also:
-
getFirstChild
- Specified by:
getFirstChildin interfaceNode- See Also:
-
getLastChild
- Specified by:
getLastChildin interfaceNode- See Also:
-
getPreviousSibling
- Specified by:
getPreviousSiblingin interfaceNode- See Also:
-
getNextSibling
- Specified by:
getNextSiblingin interfaceNode- See Also:
-
getAttributes
- Specified by:
getAttributesin interfaceNode- See Also:
-
getOwnerDocument
- Specified by:
getOwnerDocumentin interfaceNode- See Also:
-
insertBefore
- Specified by:
insertBeforein interfaceNode- See Also:
-
replaceChild
- Specified by:
replaceChildin interfaceNode- See Also:
-
removeChild
- Specified by:
removeChildin interfaceNode- See Also:
-
appendChild
- Specified by:
appendChildin interfaceNode- See Also:
-
hasChildNodes
public boolean hasChildNodes()- Specified by:
hasChildNodesin interfaceNode- See Also:
-
cloneNode
-
normalize
-
supports
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNode- See Also:
-
getPrefix
-
setPrefix
- Specified by:
setPrefixin interfaceNode- Throws:
DOMException- See Also:
-
getLocalName
- Specified by:
getLocalNamein interfaceNode- See Also:
-
isSupported
- Specified by:
isSupportedin interfaceNode- See Also:
-
hasAttributes
public boolean hasAttributes()- Specified by:
hasAttributesin interfaceNode- See Also:
-
compareDocumentPosition
TODO DOM level 3 compareDocumentPosition() Not implemented.- Specified by:
compareDocumentPositionin interfaceNode- Throws:
DOMException- See Also:
-
getBaseURI
TODO DOM level 3 getBaseURI() Not implemented. Returns null.- Specified by:
getBaseURIin interfaceNode- See Also:
-
getFeature
TODO DOM level 3 getFeature() Not implemented. Returns null.- Specified by:
getFeaturein interfaceNode- See Also:
-
getTextContent
TODO DOM level 3 getTextContent() Not implemented. Returns null.- Specified by:
getTextContentin interfaceNode- Throws:
DOMException- See Also:
-
getUserData
TODO DOM level 3 getUserData() Not implemented. Returns null.- Specified by:
getUserDatain interfaceNode- See Also:
-
isDefaultNamespace
- Specified by:
isDefaultNamespacein interfaceNode- See Also:
-
isEqualNode
TODO DOM level 3 isEqualNode() Not implemented. Returns false.- Specified by:
isEqualNodein interfaceNode- See Also:
-
isSameNode
TODO DOM level 3 isSameNode() Not implemented. Returns false.- Specified by:
isSameNodein interfaceNode- See Also:
-
lookupNamespaceURI
- Specified by:
lookupNamespaceURIin interfaceNode- See Also:
-
lookupPrefix
- Specified by:
lookupPrefixin interfaceNode- See Also:
-
setTextContent
TODO DOM level 3 setTextContent() Not implemented. Throws NO_MODIFICATION_ALLOWED_ERR- Specified by:
setTextContentin interfaceNode- Throws:
DOMException- See Also:
-
setUserData
TODO DOM level 3 setUserData() Not implemented. Returns null.- Specified by:
setUserDatain interfaceNode- See Also:
-