public class DOMNodeImpl extends Object implements Node
| Modifier and Type | Field and Description |
|---|---|
protected Node |
adaptee
Wrapped tidy 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| Modifier | Constructor and Description |
|---|---|
protected |
DOMNodeImpl(Node adaptee)
Intantiates a new DOM node.
|
protected Node adaptee
protected DOMNodeImpl(Node adaptee)
adaptee - wrapped Tidy nodepublic String getNodeValue()
getNodeValue in interface NodeNode.getNodeValue()public void setNodeValue(String nodeValue)
setNodeValue in interface NodeNode.setNodeValue(java.lang.String)public String getNodeName()
getNodeName in interface NodeNode.getNodeName()public short getNodeType()
getNodeType in interface NodeNode.getNodeType()public Node getParentNode()
getParentNode in interface NodeNode.getParentNode()public NodeList getChildNodes()
getChildNodes in interface NodeNode.getChildNodes()public Node getFirstChild()
getFirstChild in interface NodeNode.getFirstChild()public Node getLastChild()
getLastChild in interface NodeNode.getLastChild()public Node getPreviousSibling()
getPreviousSibling in interface NodeNode.getPreviousSibling()public Node getNextSibling()
getNextSibling in interface NodeNode.getNextSibling()public NamedNodeMap getAttributes()
getAttributes in interface NodeNode.getAttributes()public Document getOwnerDocument()
getOwnerDocument in interface NodeNode.getOwnerDocument()public Node insertBefore(Node newChild, Node refChild)
insertBefore in interface NodeNode.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)public Node replaceChild(Node newChild, Node oldChild)
replaceChild in interface NodeNode.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)public Node removeChild(Node oldChild)
removeChild in interface NodeNode.removeChild(org.w3c.dom.Node)public Node appendChild(Node newChild)
appendChild in interface NodeNode.appendChild(org.w3c.dom.Node)public boolean hasChildNodes()
hasChildNodes in interface NodeNode.hasChildNodes()public Node cloneNode(boolean deep)
cloneNode in interface NodeNode.cloneNode(boolean)public void normalize()
normalize in interface NodeNode.normalize()public String getNamespaceURI()
getNamespaceURI in interface NodeNode.getNamespaceURI()public String getPrefix()
getPrefix in interface NodeNode.getPrefix()public void setPrefix(String prefix) throws DOMException
setPrefix in interface NodeDOMExceptionNode.setPrefix(java.lang.String)public String getLocalName()
getLocalName in interface NodeNode.getLocalName()public boolean isSupported(String feature, String version)
isSupported in interface NodeNode.isSupported(java.lang.String, java.lang.String)public boolean hasAttributes()
hasAttributes in interface NodeNode.hasAttributes()public short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition in interface NodeDOMExceptionNode.compareDocumentPosition(org.w3c.dom.Node)public String getBaseURI()
getBaseURI in interface NodeNode.getBaseURI()public Object getFeature(String feature, String version)
getFeature in interface NodeNode.getFeature(java.lang.String, java.lang.String)public String getTextContent() throws DOMException
getTextContent in interface NodeDOMExceptionNode.getTextContent()public Object getUserData(String key)
getUserData in interface NodeNode.getUserData(java.lang.String)public boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace in interface NodeNode.isDefaultNamespace(java.lang.String)public boolean isEqualNode(Node arg)
isEqualNode in interface NodeNode.isEqualNode(org.w3c.dom.Node)public boolean isSameNode(Node other)
isSameNode in interface NodeNode.isSameNode(org.w3c.dom.Node)public String lookupNamespaceURI(String prefix)
lookupNamespaceURI in interface NodeNode.lookupNamespaceURI(java.lang.String)public String lookupPrefix(String namespaceURI)
lookupPrefix in interface NodeNode.lookupPrefix(java.lang.String)public void setTextContent(String textContent) throws DOMException
setTextContent in interface NodeDOMExceptionNode.setTextContent(java.lang.String)public Object setUserData(String key, Object data, UserDataHandler handler)
setUserData in interface NodeNode.setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)Copyright © 2000–2012 sourceforge. All rights reserved.