org.w3c.tidy
Class DOMNodeImpl

org.w3c.tidy.DOMNodeImpl

public class DOMNodeImpl

DOMNodeImpl (c) 1998-2000 (W3C) MIT, INRIA, Keio University See Tidy.java for the copyright notice. Derived from HTML Tidy Release 4 Aug 2000

Version:
1.4, 1999/09/04 DOM Support
Author:
Dave Raggett , Andy Quick (translation to Java)

Field Summary
protected  Node adaptee
           
 
Constructor Summary
protected DOMNodeImpl(Node adaptee)
           
 
Method Summary
 Node appendChild(Node newChild)
           
 Node cloneNode(boolean deep)
           
 NamedNodeMap getAttributes()
           
 NodeList getChildNodes()
           
 Node getFirstChild()
           
 Node getLastChild()
           
 String getLocalName()
          DOM2 - not implemented.
 String getNamespaceURI()
          DOM2 - not implemented.
 Node getNextSibling()
           
 String getNodeName()
           
 short getNodeType()
           
 String getNodeValue()
           
 Document getOwnerDocument()
           
 Node getParentNode()
           
 String getPrefix()
          DOM2 - not implemented.
 Node getPreviousSibling()
           
 boolean hasAttributes()
          DOM2 - @see org.w3c.dom.Node#hasAttributes contributed by dlp@users.sourceforge.net
 boolean hasChildNodes()
           
 Node insertBefore(Node newChild, Node refChild)
           
 boolean isSupported(String feature, String version)
          DOM2 - not implemented.
 void normalize()
          DOM2 - not implemented.
 Node removeChild(Node oldChild)
           
 Node replaceChild(Node newChild, Node oldChild)
           
 void setNodeValue(String nodeValue)
           
 void setPrefix(String prefix)
          DOM2 - not implemented.
 boolean supports(String feature, String version)
          DOM2 - not implemented.
 

Field Detail

adaptee

protected Node adaptee
Constructor Detail

DOMNodeImpl

protected DOMNodeImpl(Node adaptee)
Method Detail

getNodeValue

public String getNodeValue()
                    throws DOMException
See Also:
org.w3c.dom.Node#getNodeValue

setNodeValue

public void setNodeValue(String nodeValue)
                  throws DOMException
See Also:
org.w3c.dom.Node#setNodeValue

getNodeName

public String getNodeName()
See Also:
org.w3c.dom.Node#getNodeName

getNodeType

public short getNodeType()
See Also:
org.w3c.dom.Node#getNodeType

getParentNode

public Node getParentNode()
See Also:
org.w3c.dom.Node#getParentNode

getChildNodes

public NodeList getChildNodes()
See Also:
org.w3c.dom.Node#getChildNodes

getFirstChild

public Node getFirstChild()
See Also:
org.w3c.dom.Node#getFirstChild

getLastChild

public Node getLastChild()
See Also:
org.w3c.dom.Node#getLastChild

getPreviousSibling

public Node getPreviousSibling()
See Also:
org.w3c.dom.Node#getPreviousSibling

getNextSibling

public Node getNextSibling()
See Also:
org.w3c.dom.Node#getNextSibling

getAttributes

public NamedNodeMap getAttributes()
See Also:
org.w3c.dom.Node#getAttributes

getOwnerDocument

public Document getOwnerDocument()
See Also:
org.w3c.dom.Node#getOwnerDocument

insertBefore

public Node insertBefore(Node newChild,
                         Node refChild)
                  throws DOMException
See Also:
org.w3c.dom.Node#insertBefore

replaceChild

public Node replaceChild(Node newChild,
                         Node oldChild)
                  throws DOMException
See Also:
org.w3c.dom.Node#replaceChild

removeChild

public Node removeChild(Node oldChild)
                 throws DOMException
See Also:
org.w3c.dom.Node#removeChild

appendChild

public Node appendChild(Node newChild)
                 throws DOMException
See Also:
org.w3c.dom.Node#appendChild

hasChildNodes

public boolean hasChildNodes()
See Also:
org.w3c.dom.Node#hasChildNodes

cloneNode

public Node cloneNode(boolean deep)
See Also:
org.w3c.dom.Node#cloneNode

normalize

public void normalize()
DOM2 - not implemented.

supports

public boolean supports(String feature,
                        String version)
DOM2 - not implemented.

getNamespaceURI

public String getNamespaceURI()
DOM2 - not implemented.

getPrefix

public String getPrefix()
DOM2 - not implemented.

setPrefix

public void setPrefix(String prefix)
               throws DOMException
DOM2 - not implemented.

getLocalName

public String getLocalName()
DOM2 - not implemented.

isSupported

public boolean isSupported(String feature,
                           String version)
DOM2 - not implemented.

hasAttributes

public boolean hasAttributes()
DOM2 - @see org.w3c.dom.Node#hasAttributes contributed by dlp@users.sourceforge.net


Copyright © 1998-2000 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights reserved.