Public Member Functions | Public Attributes

nsIDOMDocument Interface Reference

The nsIDOMDocument interface represents the entire HTML or XML document. More...

import "nsIDOMDocument.idl";

Inheritance diagram for nsIDOMDocument:
Collaboration diagram for nsIDOMDocument:

List of all members.

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

Detailed Description

The nsIDOMDocument interface represents the entire HTML or XML document.

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

Member Function Documentation

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

Member Data Documentation


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