Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIDOMHTMLDocument Interface Reference

The nsIDOMHTMLDocument interface is the interface to a [X]HTML document object. More...

import "nsIDOMHTMLDocument.idl";

Inheritance diagram for nsIDOMHTMLDocument:
Inheritance graph
[legend]
Collaboration diagram for nsIDOMHTMLDocument:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void open ()
void close ()
void write (in DOMString text)
void writeln (in DOMString text)
nsIDOMNodeList getElementsByName (in DOMString elementName)
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)
nsIDOMNode insertBefore (in nsIDOMNode newChild, in nsIDOMNode refChild) raises (DOMException)
nsIDOMNode replaceChild (in nsIDOMNode newChild, in nsIDOMNode oldChild) raises (DOMException)
nsIDOMNode removeChild (in nsIDOMNode oldChild) raises (DOMException)
nsIDOMNode appendChild (in nsIDOMNode newChild) raises (DOMException)
boolean hasChildNodes ()
nsIDOMNode cloneNode (in boolean deep)
void normalize ()
boolean isSupported (in DOMString feature, in DOMString version)
boolean hasAttributes ()

Public Attributes

attribute DOMString title
readonly attribute DOMString referrer
readonly attribute DOMString domain
readonly attribute DOMString URL
attribute nsIDOMHTMLElement body
readonly attribute
nsIDOMHTMLCollection 
images
readonly attribute
nsIDOMHTMLCollection 
applets
readonly attribute
nsIDOMHTMLCollection 
links
readonly attribute
nsIDOMHTMLCollection 
forms
readonly attribute
nsIDOMHTMLCollection 
anchors
attribute DOMString cookie
readonly attribute
nsIDOMDocumentType 
doctype
readonly attribute
nsIDOMDOMImplementation 
implementation
readonly attribute nsIDOMElement documentElement
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 nsIDOMNode parentNode
readonly attribute nsIDOMNodeList childNodes
readonly attribute nsIDOMNode firstChild
readonly attribute nsIDOMNode lastChild
readonly attribute nsIDOMNode previousSibling
readonly attribute nsIDOMNode nextSibling
readonly attribute
nsIDOMNamedNodeMap 
attributes
readonly attribute nsIDOMDocument ownerDocument
readonly attribute DOMString namespaceURI
attribute DOMString prefix
readonly attribute DOMString localName

Detailed Description

The nsIDOMHTMLDocument interface is the interface to a [X]HTML document object.

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

FROZEN

Definition at line 53 of file nsIDOMHTMLDocument.idl.


Member Function Documentation

nsIDOMNode nsIDOMNode::appendChild ( in nsIDOMNode  newChild) raises (DOMException) [inherited]
nsIDOMNode nsIDOMNode::cloneNode ( in boolean  deep) [inherited]

Here is the caller graph for this function:

nsIDOMAttr nsIDOMDocument::createAttribute ( in DOMString  name) raises (DOMException) [inherited]
nsIDOMAttr nsIDOMDocument::createAttributeNS ( in DOMString  namespaceURI,
in DOMString  qualifiedName 
) raises (DOMException) [inherited]
nsIDOMCDATASection nsIDOMDocument::createCDATASection ( in DOMString  data) raises (DOMException) [inherited]
nsIDOMComment nsIDOMDocument::createComment ( in DOMString  data) [inherited]
nsIDOMElement nsIDOMDocument::createElement ( in DOMString  tagName) raises (DOMException) [inherited]
nsIDOMElement nsIDOMDocument::createElementNS ( in DOMString  namespaceURI,
in DOMString  qualifiedName 
) raises (DOMException) [inherited]
nsIDOMEntityReference nsIDOMDocument::createEntityReference ( in DOMString  name) raises (DOMException) [inherited]
nsIDOMProcessingInstruction nsIDOMDocument::createProcessingInstruction ( in DOMString  target,
in DOMString  data 
) raises (DOMException) [inherited]
nsIDOMText nsIDOMDocument::createTextNode ( in DOMString  data) [inherited]
nsIDOMElement nsIDOMDocument::getElementById ( in DOMString  elementId) [inherited]
nsIDOMNodeList nsIDOMDocument::getElementsByTagName ( in DOMString  tagname) [inherited]
nsIDOMNodeList nsIDOMDocument::getElementsByTagNameNS ( in DOMString  namespaceURI,
in DOMString  localName 
) [inherited]
nsIDOMNode nsIDOMDocument::importNode ( in nsIDOMNode  importedNode,
in boolean  deep 
) raises (DOMException) [inherited]
nsIDOMNode nsIDOMNode::insertBefore ( in nsIDOMNode  newChild,
in nsIDOMNode  refChild 
) raises (DOMException) [inherited]
boolean nsIDOMNode::isSupported ( in DOMString  feature,
in DOMString  version 
) [inherited]
void nsIDOMNode::normalize ( ) [inherited]
nsIDOMNode nsIDOMNode::removeChild ( in nsIDOMNode  oldChild) raises (DOMException) [inherited]
nsIDOMNode nsIDOMNode::replaceChild ( in nsIDOMNode  newChild,
in nsIDOMNode  oldChild 
) raises (DOMException) [inherited]
void nsIDOMHTMLDocument::write ( in DOMString  text)
void nsIDOMHTMLDocument::writeln ( in DOMString  text)

Member Data Documentation

Definition at line 66 of file nsIDOMHTMLDocument.idl.

Definition at line 63 of file nsIDOMHTMLDocument.idl.

const unsigned short nsIDOMNode::ATTRIBUTE_NODE = 2 [inherited]

Definition at line 57 of file nsIDOMNode.idl.

Definition at line 80 of file nsIDOMNode.idl.

Definition at line 61 of file nsIDOMHTMLDocument.idl.

const unsigned short nsIDOMNode::CDATA_SECTION_NODE = 4 [inherited]

Definition at line 59 of file nsIDOMNode.idl.

Definition at line 75 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::COMMENT_NODE = 8 [inherited]

Definition at line 63 of file nsIDOMNode.idl.

Definition at line 67 of file nsIDOMHTMLDocument.idl.

Definition at line 60 of file nsIDOMDocument.idl.

const unsigned short nsIDOMNode::DOCUMENT_FRAGMENT_NODE = 11 [inherited]

Definition at line 66 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::DOCUMENT_NODE = 9 [inherited]

Definition at line 64 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::DOCUMENT_TYPE_NODE = 10 [inherited]

Definition at line 65 of file nsIDOMNode.idl.

Definition at line 62 of file nsIDOMDocument.idl.

Definition at line 59 of file nsIDOMHTMLDocument.idl.

const unsigned short nsIDOMNode::ELEMENT_NODE = 1 [inherited]

Definition at line 56 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::ENTITY_NODE = 6 [inherited]

Definition at line 61 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::ENTITY_REFERENCE_NODE = 5 [inherited]

Definition at line 60 of file nsIDOMNode.idl.

Definition at line 76 of file nsIDOMNode.idl.

Definition at line 65 of file nsIDOMHTMLDocument.idl.

Definition at line 62 of file nsIDOMHTMLDocument.idl.

Definition at line 61 of file nsIDOMDocument.idl.

Definition at line 77 of file nsIDOMNode.idl.

Definition at line 64 of file nsIDOMHTMLDocument.idl.

readonly attribute DOMString nsIDOMNode::localName [inherited]

Definition at line 107 of file nsIDOMNode.idl.

readonly attribute DOMString nsIDOMNode::namespaceURI [inherited]

Definition at line 101 of file nsIDOMNode.idl.

Definition at line 79 of file nsIDOMNode.idl.

readonly attribute DOMString nsIDOMNode::nodeName [inherited]

Definition at line 69 of file nsIDOMNode.idl.

readonly attribute unsigned short nsIDOMNode::nodeType [inherited]

Definition at line 73 of file nsIDOMNode.idl.

attribute DOMString nsIDOMNode::nodeValue [inherited]

Definition at line 70 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::NOTATION_NODE = 12 [inherited]

Definition at line 67 of file nsIDOMNode.idl.

Definition at line 82 of file nsIDOMNode.idl.

Definition at line 74 of file nsIDOMNode.idl.

attribute DOMString nsIDOMNode::prefix [inherited]

Definition at line 103 of file nsIDOMNode.idl.

Definition at line 78 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::PROCESSING_INSTRUCTION_NODE = 7 [inherited]

Definition at line 62 of file nsIDOMNode.idl.

Definition at line 56 of file nsIDOMHTMLDocument.idl.

const unsigned short nsIDOMNode::TEXT_NODE = 3 [inherited]

Definition at line 58 of file nsIDOMNode.idl.

Definition at line 55 of file nsIDOMHTMLDocument.idl.

readonly attribute DOMString nsIDOMHTMLDocument::URL

Definition at line 60 of file nsIDOMHTMLDocument.idl.


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