@mozilla.org/xul/xul-document;1

This component implements the following interfaces:

Constants

PRUint16 nsIDOM3Node.DOCUMENT_POSITION_DISCONNECTED = 1
PRUint16 nsIDOM3Node.DOCUMENT_POSITION_PRECEDING = 2
PRUint16 nsIDOM3Node.DOCUMENT_POSITION_FOLLOWING = 4
PRUint16 nsIDOM3Node.DOCUMENT_POSITION_CONTAINS = 8
PRUint16 nsIDOM3Node.DOCUMENT_POSITION_CONTAINED_BY = 16
PRUint16 nsIDOM3Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 32
The nsIDOMNode interface is the primary datatype for the entire Document Object Model. It represents a single node in the document tree.

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

PRUint16 nsIDOMNode.ELEMENT_NODE = 1
PRUint16 nsIDOMNode.ATTRIBUTE_NODE = 2
PRUint16 nsIDOMNode.TEXT_NODE = 3
PRUint16 nsIDOMNode.CDATA_SECTION_NODE = 4
PRUint16 nsIDOMNode.ENTITY_REFERENCE_NODE = 5
PRUint16 nsIDOMNode.ENTITY_NODE = 6
PRUint16 nsIDOMNode.PROCESSING_INSTRUCTION_NODE = 7
PRUint16 nsIDOMNode.COMMENT_NODE = 8
PRUint16 nsIDOMNode.DOCUMENT_NODE = 9
PRUint16 nsIDOMNode.DOCUMENT_TYPE_NODE = 10
PRUint16 nsIDOMNode.DOCUMENT_FRAGMENT_NODE = 11
PRUint16 nsIDOMNode.NOTATION_NODE = 12

Properties

readonly nsIDOMNamedNodeMap nsIDOMNode.attributes

readonly DOMString nsIDOM3Node.baseURI

readonly DOMString nsIDOMNSDocument.characterSet

readonly nsIDOMNodeList nsIDOMNode.childNodes

readonly nsIDOMXULCommandDispatcher nsIDOMXULDocument.commandDispatcher

readonly DOMString nsIDOMNSDocument.contentType

readonly nsIDOMAbstractView nsIDOMDocumentView.defaultView

The nsIDOMDocumentView interface is a datatype for a document that supports views in the Document Object Model.

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

DOMString nsIDOMNSDocument.dir

readonly nsIDOMDocumentType nsIDOMDocument.doctype

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/

readonly nsIDOMElement nsIDOMDocument.documentElement

readonly nsIDOMNode nsIDOMNode.firstChild

readonly PRInt32 nsIDOMXULDocument.height

readonly nsIDOMDOMImplementation nsIDOMDocument.implementation

readonly nsIDOMNode nsIDOMNode.lastChild

readonly DOMString nsIDOMNSDocument.lastModified

readonly DOMString nsIDOMNode.localName

readonly nsIDOMLocation nsIDOMNSDocument.location

readonly DOMString nsIDOMNode.namespaceURI

readonly nsIDOMNode nsIDOMNode.nextSibling

readonly DOMString nsIDOMNode.nodeName

readonly PRUint16 nsIDOMNode.nodeType

DOMString nsIDOMNode.nodeValue

readonly nsIDOMDocument nsIDOMNode.ownerDocument

readonly nsIDOMNode nsIDOMNode.parentNode

nsIDOMNode nsIDOMXULDocument.popupNode

DOMString nsIDOMNode.prefix

readonly nsIDOMNode nsIDOMNode.previousSibling

readonly DOMString nsIDOMNSDocument.referrer

readonly nsIDOMStyleSheetList nsIDOMDocumentStyle.styleSheets

DOMString nsIDOM3Node.textContent

DOMString nsIDOMNSDocument.title

nsIDOMNode nsIDOMXULDocument.tooltipNode

readonly PRInt32 nsIDOMXULDocument.width

Methods

InterfaceMethod
nsIDOMDocumentXBL void addBinding ( nsIDOMElement elt , DOMString bindingURL )
nsIDOMXULDocument void addBroadcastListenerFor ( nsIDOMElement broadcaster , nsIDOMElement observer , DOMString attr )
nsIDOMNode nsIDOMNode appendChild ( nsIDOMNode newChild )
nsIDOMNode nsIDOMNode cloneNode ( PRBool deep )
nsIDOM3Node PRUint16 compareDocumentPosition ( nsIDOMNode other )
nsIDOMDocument nsIDOMAttr createAttribute ( DOMString name )
nsIDOMDocument nsIDOMAttr createAttributeNS ( DOMString namespaceURI , DOMString qualifiedName )
nsIDOMDocument nsIDOMCDATASection createCDATASection ( DOMString data )
nsIDOMDocument nsIDOMComment createComment ( DOMString data )
nsIDOMDocument nsIDOMDocumentFragment createDocumentFragment ( )
nsIDOMDocument nsIDOMElement createElement ( DOMString tagName )
nsIDOMDocument nsIDOMElement createElementNS ( DOMString namespaceURI , DOMString qualifiedName )
nsIDOMDocument nsIDOMEntityReference createEntityReference ( DOMString name )
nsIDOMDocumentEvent nsIDOMEvent createEvent ( DOMString eventType )
nsIDOMDocumentTraversal nsIDOMNodeIterator createNodeIterator ( nsIDOMNode root , PRUint32 whatToShow , nsIDOMNodeFilter filter , PRBool entityReferenceExpansion )
nsIDOMDocument nsIDOMProcessingInstruction createProcessingInstruction ( DOMString target , DOMString data )
nsIDOMDocument nsIDOMText createTextNode ( DOMString data )
nsIDOMDocumentTraversal nsIDOMTreeWalker createTreeWalker ( nsIDOMNode root , PRUint32 whatToShow , nsIDOMNodeFilter filter , PRBool entityReferenceExpansion )
nsIDOMDocumentXBL nsIDOMElement getAnonymousElementByAttribute ( nsIDOMElement elt , DOMString attrName , DOMString attrValue )
nsIDOMDocumentXBL nsIDOMNodeList getAnonymousNodes ( nsIDOMElement elt )
nsIDOMDocumentXBL nsIDOMElement getBindingParent ( nsIDOMNode node )
nsIDOMNSDocument nsIBoxObject getBoxObjectFor ( nsIDOMElement elt )
nsIDOMDocument nsIDOMElement getElementById ( DOMString elementId )
nsIDOMXULDocument nsIDOMNodeList getElementsByAttribute ( DOMString name , DOMString value )
nsIDOMDocument nsIDOMNodeList getElementsByTagName ( DOMString tagname )
nsIDOMDocument nsIDOMNodeList getElementsByTagNameNS ( DOMString namespaceURI , DOMString localName )
nsIDOM3Node nsISupports getFeature ( DOMString feature , DOMString version )
nsIDOM3Node nsIVariant getUserData ( DOMString key )
nsIDOMNode PRBool hasAttributes ( )
nsIDOMNode PRBool hasChildNodes ( )
nsIDOMDocument nsIDOMNode importNode ( nsIDOMNode importedNode , PRBool deep )
nsIDOMNode nsIDOMNode insertBefore ( nsIDOMNode newChild , nsIDOMNode refChild )
nsIDOM3Node PRBool isDefaultNamespace ( DOMString namespaceURI )
nsIDOM3Node PRBool isEqualNode ( nsIDOMNode arg )
nsIDOM3Node PRBool isSameNode ( nsIDOMNode other )
nsIDOMNode PRBool isSupported ( DOMString feature , DOMString version )
nsIDOMDocumentXBL nsIDOMDocument loadBindingDocument ( DOMString documentURL )
nsIDOM3Node DOMString lookupNamespaceURI ( DOMString prefix )
nsIDOM3Node DOMString lookupPrefix ( DOMString namespaceURI )
nsIDOMNode void normalize ( )
nsIDOMXULDocument void persist ( DOMString id , DOMString attr )
nsIDOMDocumentXBL void removeBinding ( nsIDOMElement elt , DOMString bindingURL )
nsIDOMXULDocument void removeBroadcastListenerFor ( nsIDOMElement broadcaster , nsIDOMElement observer , DOMString attr )
nsIDOMNode nsIDOMNode removeChild ( nsIDOMNode oldChild )
nsIDOMNode nsIDOMNode replaceChild ( nsIDOMNode newChild , nsIDOMNode oldChild )
nsIDOMNSDocument void setBoxObjectFor ( nsIDOMElement elt , nsIBoxObject boxObject )
nsIDOM3Node nsIVariant setUserData ( DOMString key , nsIVariant data , nsIDOMUserDataHandler handler )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com