nsIDOMDocument Interface Reference

import "nsIDOMDocument.idl";

Inheritance diagram for nsIDOMDocument:

Inheritance graph
[legend]
Collaboration diagram for nsIDOMDocument:

Collaboration graph
[legend]

List of all members.


Detailed Description

Conceptually, it is the root of the document tree, and provides the primary access to the document's data. Since elements, text nodes, comments, processing instructions, etc. cannot exist outside the context of a Document, the nsIDOMDocument interface also contains the factory methods needed to create these objects.

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

Status:
FROZEN

Public Member Functions

nsIDOMElement createElement (in DOMString tagName) raises (DOMException)
nsIDOMDocumentFragment createDocumentFragment ()
nsIDOMText createTextNode (in DOMString data)
nsIDOMComment createComment (in DOMString data)
nsIDOMCDATASection createCDATASection (in DOMString data) raises (DOMException)
nsIDOMProcessingInstruction createProcessingInstruction (in DOMString target, in DOMString data) raises (DOMException)
nsIDOMAttr createAttribute (in DOMString name) raises (DOMException)
nsIDOMEntityReference createEntityReference (in DOMString name) raises (DOMException)
nsIDOMNodeList getElementsByTagName (in DOMString tagname)
nsIDOMNode importNode (in nsIDOMNode importedNode, in boolean deep) raises (DOMException)
nsIDOMElement createElementNS (in DOMString namespaceURI, in DOMString qualifiedName) raises (DOMException)
nsIDOMAttr createAttributeNS (in DOMString namespaceURI, in DOMString qualifiedName) raises (DOMException)
nsIDOMNodeList getElementsByTagNameNS (in DOMString namespaceURI, in DOMString localName)
nsIDOMElement getElementById (in DOMString elementId)

Public Attributes

readonly attribute
nsIDOMDocumentType 
doctype
readonly attribute
nsIDOMDOMImplementation 
implementation
readonly attribute nsIDOMElement documentElement

Member Function Documentation

nsIDOMElement nsIDOMDocument::createElement ( in DOMString  tagName  )  raises (DOMException)

nsIDOMDocumentFragment nsIDOMDocument::createDocumentFragment (  ) 

nsIDOMText nsIDOMDocument::createTextNode ( in DOMString  data  ) 

nsIDOMComment nsIDOMDocument::createComment ( in DOMString  data  ) 

nsIDOMCDATASection nsIDOMDocument::createCDATASection ( in DOMString  data  )  raises (DOMException)

nsIDOMProcessingInstruction nsIDOMDocument::createProcessingInstruction ( in DOMString  target,
in DOMString  data 
) raises (DOMException)

nsIDOMAttr nsIDOMDocument::createAttribute ( in DOMString  name  )  raises (DOMException)

nsIDOMEntityReference nsIDOMDocument::createEntityReference ( in DOMString  name  )  raises (DOMException)

nsIDOMNodeList nsIDOMDocument::getElementsByTagName ( in DOMString  tagname  ) 

nsIDOMNode nsIDOMDocument::importNode ( in nsIDOMNode  importedNode,
in boolean  deep 
) raises (DOMException)

nsIDOMElement nsIDOMDocument::createElementNS ( in DOMString  namespaceURI,
in DOMString  qualifiedName 
) raises (DOMException)

nsIDOMAttr nsIDOMDocument::createAttributeNS ( in DOMString  namespaceURI,
in DOMString  qualifiedName 
) raises (DOMException)

nsIDOMNodeList nsIDOMDocument::getElementsByTagNameNS ( in DOMString  namespaceURI,
in DOMString  localName 
)

nsIDOMElement nsIDOMDocument::getElementById ( in DOMString  elementId  ) 


Member Data Documentation


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

Generated Mozilla by doxygen 1.5.6