Public Member Functions | Public Attributes

nsIDOMElement Interface Reference

The nsIDOMElement interface represents an element in an HTML or XML document. More...

import "nsIDOMElement.idl";

Inheritance diagram for nsIDOMElement:
Collaboration diagram for nsIDOMElement:

List of all members.

Public Member Functions

DOMString getAttribute (in DOMString name)
void setAttribute (in DOMString name, in DOMString value) raises (DOMException)
void removeAttribute (in DOMString name) raises (DOMException)
nsIDOMAttr getAttributeNode (in DOMString name)
nsIDOMAttr setAttributeNode (in nsIDOMAttr newAttr) raises (DOMException)
nsIDOMAttr removeAttributeNode (in nsIDOMAttr oldAttr) raises (DOMException)
nsIDOMNodeList getElementsByTagName (in DOMString name)
DOMString getAttributeNS (in DOMString namespaceURI, in DOMString localName)
void setAttributeNS (in DOMString namespaceURI, in DOMString qualifiedName, in DOMString value) raises (DOMException)
void removeAttributeNS (in DOMString namespaceURI, in DOMString localName) raises (DOMException)
nsIDOMAttr getAttributeNodeNS (in DOMString namespaceURI, in DOMString localName)
nsIDOMAttr setAttributeNodeNS (in nsIDOMAttr newAttr) raises (DOMException)
nsIDOMNodeList getElementsByTagNameNS (in DOMString namespaceURI, in DOMString localName)
boolean hasAttribute (in DOMString name)
boolean hasAttributeNS (in DOMString namespaceURI, in DOMString localName)

Public Attributes

readonly attribute DOMString tagName

Detailed Description

The nsIDOMElement interface represents an element in an HTML or XML document.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Core/

Status:
FROZEN

Member Function Documentation

DOMString nsIDOMElement::getAttribute ( in DOMString  name  ) 
nsIDOMAttr nsIDOMElement::getAttributeNode ( in DOMString  name  ) 
nsIDOMAttr nsIDOMElement::getAttributeNodeNS ( in DOMString  namespaceURI,
in DOMString  localName 
)
DOMString nsIDOMElement::getAttributeNS ( in DOMString  namespaceURI,
in DOMString  localName 
)
nsIDOMNodeList nsIDOMElement::getElementsByTagName ( in DOMString  name  ) 
nsIDOMNodeList nsIDOMElement::getElementsByTagNameNS ( in DOMString  namespaceURI,
in DOMString  localName 
)
boolean nsIDOMElement::hasAttribute ( in DOMString  name  ) 
boolean nsIDOMElement::hasAttributeNS ( in DOMString  namespaceURI,
in DOMString  localName 
)
void nsIDOMElement::removeAttribute ( in DOMString  name  )  raises (DOMException)
nsIDOMAttr nsIDOMElement::removeAttributeNode ( in nsIDOMAttr  oldAttr  )  raises (DOMException)
void nsIDOMElement::removeAttributeNS ( in DOMString  namespaceURI,
in DOMString  localName 
) raises (DOMException)
void nsIDOMElement::setAttribute ( in DOMString  name,
in DOMString  value 
) raises (DOMException)
nsIDOMAttr nsIDOMElement::setAttributeNode ( in nsIDOMAttr  newAttr  )  raises (DOMException)
nsIDOMAttr nsIDOMElement::setAttributeNodeNS ( in nsIDOMAttr  newAttr  )  raises (DOMException)
void nsIDOMElement::setAttributeNS ( in DOMString  namespaceURI,
in DOMString  qualifiedName,
in DOMString  value 
) raises (DOMException)

Member Data Documentation

readonly attribute DOMString nsIDOMElement::tagName

The documentation for this interface was generated from the following file: