dom::Node Interface Reference

Inheritance diagram for dom::Node:
Collaboration diagram for dom::Node:

Public Member Functions

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

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 72 of file DOM_APISPEC.idl.

Member Function Documentation

Node dom::Node::appendChild ( in Node  newChild) raises (DOMException)
Node dom::Node::cloneNode ( in boolean  deep)
boolean dom::Node::hasAttributes ( )
boolean dom::Node::hasChildNodes ( )
Node dom::Node::insertBefore ( in Node  newChild,
in Node  refChild 
) raises (DOMException)
boolean dom::Node::isSupported ( in DOMString  feature,
in DOMString  version 
)
void dom::Node::normalize ( )
Node dom::Node::removeChild ( in Node  oldChild) raises (DOMException)
Node dom::Node::replaceChild ( in Node  newChild,
in Node  oldChild 
) raises (DOMException)

Member Data Documentation

const unsigned short dom::Node::ATTRIBUTE_NODE = 2

Definition at line 76 of file DOM_APISPEC.idl.

readonly attribute NamedNodeMap dom::Node::attributes

Definition at line 100 of file DOM_APISPEC.idl.

const unsigned short dom::Node::CDATA_SECTION_NODE = 4

Definition at line 78 of file DOM_APISPEC.idl.

readonly attribute NodeList dom::Node::childNodes

Definition at line 95 of file DOM_APISPEC.idl.

const unsigned short dom::Node::COMMENT_NODE = 8

Definition at line 82 of file DOM_APISPEC.idl.

const unsigned short dom::Node::DOCUMENT_FRAGMENT_NODE = 11

Definition at line 85 of file DOM_APISPEC.idl.

const unsigned short dom::Node::DOCUMENT_NODE = 9

Definition at line 83 of file DOM_APISPEC.idl.

const unsigned short dom::Node::DOCUMENT_TYPE_NODE = 10

Definition at line 84 of file DOM_APISPEC.idl.

const unsigned short dom::Node::ELEMENT_NODE = 1

Definition at line 75 of file DOM_APISPEC.idl.

const unsigned short dom::Node::ENTITY_NODE = 6

Definition at line 80 of file DOM_APISPEC.idl.

const unsigned short dom::Node::ENTITY_REFERENCE_NODE = 5

Definition at line 79 of file DOM_APISPEC.idl.

readonly attribute Node dom::Node::firstChild

Definition at line 96 of file DOM_APISPEC.idl.

readonly attribute Node dom::Node::lastChild

Definition at line 97 of file DOM_APISPEC.idl.

readonly attribute DOMString dom::Node::localName

Definition at line 127 of file DOM_APISPEC.idl.

readonly attribute DOMString dom::Node::namespaceURI

Definition at line 121 of file DOM_APISPEC.idl.

readonly attribute Node dom::Node::nextSibling

Definition at line 99 of file DOM_APISPEC.idl.

readonly attribute DOMString dom::Node::nodeName

Definition at line 88 of file DOM_APISPEC.idl.

readonly attribute unsigned short dom::Node::nodeType

Definition at line 93 of file DOM_APISPEC.idl.

attribute DOMString dom::Node::nodeValue

Definition at line 89 of file DOM_APISPEC.idl.

const unsigned short dom::Node::NOTATION_NODE = 12

Definition at line 86 of file DOM_APISPEC.idl.

readonly attribute Document dom::Node::ownerDocument

Definition at line 102 of file DOM_APISPEC.idl.

readonly attribute Node dom::Node::parentNode

Definition at line 94 of file DOM_APISPEC.idl.

attribute DOMString dom::Node::prefix

Definition at line 123 of file DOM_APISPEC.idl.

readonly attribute Node dom::Node::previousSibling

Definition at line 98 of file DOM_APISPEC.idl.

const unsigned short dom::Node::PROCESSING_INSTRUCTION_NODE = 7

Definition at line 81 of file DOM_APISPEC.idl.

const unsigned short dom::Node::TEXT_NODE = 3

Definition at line 77 of file DOM_APISPEC.idl.