The Element Interface

package org.w3c.dom;

public interface Element extends Node {

  public String    getTagName();
  public String    getAttribute(String name);
  public void      setAttribute(String name, String value) throws DOMException;
  public void      removeAttribute(String name) throws DOMException;
  public Attr      getAttributeNode(String name);
  public Attr      setAttributeNode(Attr newAttr) throws DOMException;
  public Attr      removeAttributeNode(Attr oldAttr) throws DOMException;
  public NodeList  getElementsByTagName(String name);
  public String    getAttributeNS(String namespaceURI, String localName);
  public void      setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException;
  public void      removeAttributeNS(String namespaceURI, String localName) throws DOMException;
  public Attr      getAttributeNodeNS(String namespaceURI, String localName);
  public Attr      setAttributeNodeNS(Attr newAttr) throws DOMException;
  public NodeList  getElementsByTagNameNS(String namespaceURI, String localName);

}

Previous | Next | Top | Cafe con Leche

Copyright 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 18, 2000