org.w3c.tidy
Class DOMElementImpl

org.w3c.tidy.DOMElementImpl

public class DOMElementImpl

DOMElementImpl (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)

Constructor Summary
protected DOMElementImpl(Node adaptee)
           
 
Method Summary
 String getAttribute(String name)
           
 Attr getAttributeNode(String name)
           
 Attr getAttributeNodeNS(String namespaceURI, String localName)
          DOM2 - not implemented.
 String getAttributeNS(String namespaceURI, String localName)
          DOM2 - not implemented.
 NodeList getElementsByTagName(String name)
           
 NodeList getElementsByTagNameNS(String namespaceURI, String localName)
          DOM2 - not implemented.
 short getNodeType()
           
 String getTagName()
           
 boolean hasAttribute(String name)
          DOM2 - not implemented.
 boolean hasAttributeNS(String namespaceURI, String localName)
          DOM2 - not implemented.
 void normalize()
           
 void removeAttribute(String name)
           
 Attr removeAttributeNode(Attr oldAttr)
           
 void removeAttributeNS(String namespaceURI, String localName)
          DOM2 - not implemented.
 void setAttribute(String name, String value)
           
 Attr setAttributeNode(Attr newAttr)
           
 Attr setAttributeNodeNS(Attr newAttr)
          DOM2 - not implemented.
 void setAttributeNS(String namespaceURI, String qualifiedName, String value)
          DOM2 - not implemented.
 

Constructor Detail

DOMElementImpl

protected DOMElementImpl(Node adaptee)
Method Detail

getNodeType

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

getTagName

public String getTagName()
See Also:
org.w3c.dom.Element#getTagName

getAttribute

public String getAttribute(String name)
See Also:
org.w3c.dom.Element#getAttribute

setAttribute

public void setAttribute(String name,
                         String value)
                  throws DOMException
See Also:
org.w3c.dom.Element#setAttribute

removeAttribute

public void removeAttribute(String name)
                     throws DOMException
See Also:
org.w3c.dom.Element#removeAttribute

getAttributeNode

public Attr getAttributeNode(String name)
See Also:
org.w3c.dom.Element#getAttributeNode

setAttributeNode

public Attr setAttributeNode(Attr newAttr)
                      throws DOMException
See Also:
org.w3c.dom.Element#setAttributeNode

removeAttributeNode

public Attr removeAttributeNode(Attr oldAttr)
                         throws DOMException
See Also:
org.w3c.dom.Element#removeAttributeNode

getElementsByTagName

public NodeList getElementsByTagName(String name)
See Also:
org.w3c.dom.Element#getElementsByTagName

normalize

public void normalize()
See Also:
org.w3c.dom.Element#normalize

getAttributeNS

public String getAttributeNS(String namespaceURI,
                             String localName)
DOM2 - not implemented.

setAttributeNS

public void setAttributeNS(String namespaceURI,
                           String qualifiedName,
                           String value)
                    throws DOMException
DOM2 - not implemented.
Throws:
DOMException -  

removeAttributeNS

public void removeAttributeNS(String namespaceURI,
                              String localName)
                       throws DOMException
DOM2 - not implemented.
Throws:
DOMException -  

getAttributeNodeNS

public Attr getAttributeNodeNS(String namespaceURI,
                               String localName)
DOM2 - not implemented.

setAttributeNodeNS

public Attr setAttributeNodeNS(Attr newAttr)
                        throws DOMException
DOM2 - not implemented.
Throws:
DOMException -  

getElementsByTagNameNS

public NodeList getElementsByTagNameNS(String namespaceURI,
                                       String localName)
DOM2 - not implemented.

hasAttribute

public boolean hasAttribute(String name)
DOM2 - not implemented.

hasAttributeNS

public boolean hasAttributeNS(String namespaceURI,
                              String localName)
DOM2 - not implemented.


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.