dom::Element Interface Reference

dom::Element Interface Reference
Inheritance diagram for dom::Element:
Collaboration diagram for dom::Element:

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)
Attr getAttributeNode (in DOMString name)
Attr setAttributeNode (in Attr newAttr) raises (DOMException)
Attr removeAttributeNode (in Attr oldAttr) raises (DOMException)
NodeList 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)
Attr getAttributeNodeNS (in DOMString namespaceURI, in DOMString localName)
Attr setAttributeNodeNS (in Attr newAttr) raises (DOMException)
NodeList getElementsByTagNameNS (in DOMString namespaceURI, in DOMString localName)
boolean hasAttribute (in DOMString name)
boolean hasAttributeNS (in DOMString namespaceURI, in DOMString localName)
- Public Member Functions inherited from dom::Node
Node insertBefore (in Node newChild, in Node refChild) raises (DOMException)
Node replaceChild (in Node newChild, in Node oldChild) raises (DOMException)
Node removeChild (in Node oldChild) raises (DOMException)
Node appendChild (in Node newChild) raises (DOMException)
boolean hasChildNodes ()
Node cloneNode (in boolean deep)
void normalize ()
boolean isSupported (in DOMString feature, in DOMString version)
boolean hasAttributes ()
- Public Member Functions inherited from XPCOM::IObject
void add_ref ()
 Called to indicate that some code is keeping an owning reference to the object.
oneway void release_ref ()
 Removes a reference to an object which was created by some other means (e.g.
IObject query_interface (in utf8string id)
 Returns an IObject of the same implementation, which supports a specific interface.

Public Attributes

readonly attribute DOMString tagName
- Public Attributes inherited from dom::Node
const unsigned short ELEMENT_NODE = 1
const unsigned short ATTRIBUTE_NODE = 2
const unsigned short TEXT_NODE = 3
const unsigned short CDATA_SECTION_NODE = 4
const unsigned short ENTITY_REFERENCE_NODE = 5
const unsigned short ENTITY_NODE = 6
const unsigned short PROCESSING_INSTRUCTION_NODE = 7
const unsigned short COMMENT_NODE = 8
const unsigned short DOCUMENT_NODE = 9
const unsigned short DOCUMENT_TYPE_NODE = 10
const unsigned short DOCUMENT_FRAGMENT_NODE = 11
const unsigned short NOTATION_NODE = 12
readonly attribute DOMString nodeName
attribute DOMString nodeValue
readonly attribute unsigned short nodeType
readonly attribute Node parentNode
readonly attribute NodeList childNodes
readonly attribute Node firstChild
readonly attribute Node lastChild
readonly attribute Node previousSibling
readonly attribute Node nextSibling
readonly attribute NamedNodeMap attributes
readonly attribute Document ownerDocument
readonly attribute DOMString namespaceURI
attribute DOMString prefix
readonly attribute DOMString localName
- Public Attributes inherited from XPCOM::IObject
readonly attribute string objid
 Fetches the ID of the object.

Detailed Description

Definition at line 193 of file DOM_APISPEC.idl.

Member Function Documentation

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

Member Data Documentation

readonly attribute DOMString dom::Element::tagName

Definition at line 194 of file DOM_APISPEC.idl.