@mozilla.org/svg/svg-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 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

DOMString nsIDOM3Document.documentURI

readonly DOMString nsIDOMSVGDocument.domain

readonly nsIDOMDOMConfiguration nsIDOM3Document.domConfig

readonly nsIDOMNode nsIDOMNode.firstChild

readonly nsIDOMDOMImplementation nsIDOMDocument.implementation

readonly DOMString nsIDOM3Document.inputEncoding

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

readonly DOMString nsIDOMNSDocumentStyle.preferredStylesheetSet

This attribute indicates the preferredStylesheetSet as set by the author. It is determined from the order of stylesheet declarations and the Default-Style HTTP headers. See [[HTML4]]. If there is no preferred stylesheet set, this attribute returns the empty string. The case of this attribute must exactly match the case given by the author where the preferred stylesheet is specified or implied.

DOMString nsIDOMNode.prefix

readonly nsIDOMNode nsIDOMNode.previousSibling

readonly DOMString nsIDOMSVGDocument.referrer

readonly nsIDOMSVGSVGElement nsIDOMSVGDocument.rootElement

PRBool nsIDOM3Document.strictErrorChecking

readonly nsIDOMStyleSheetList nsIDOMDocumentStyle.styleSheets

DOMString nsIDOM3Node.textContent

readonly DOMString nsIDOMSVGDocument.title

readonly DOMString nsIDOMSVGDocument.URL

readonly DOMString nsIDOM3Document.xmlEncoding

PRBool nsIDOM3Document.xmlStandalone

DOMString nsIDOM3Document.xmlVersion

Methods

InterfaceMethod
nsIDOM3Document nsIDOMNode adoptNode ( nsIDOMNode source )
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 )
nsIDOMDocumentRange nsIDOMRange createRange ( )
nsIDOMDocument nsIDOMText createTextNode ( DOMString data )
nsIDOMDocumentTraversal nsIDOMTreeWalker createTreeWalker ( nsIDOMNode root , PRUint32 whatToShow , nsIDOMNodeFilter filter , PRBool entityReferenceExpansion )
nsIDOMNSDocument nsIBoxObject getBoxObjectFor ( nsIDOMElement elt )
nsIDOMDocument nsIDOMElement getElementById ( DOMString elementId )
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 )
nsIDOM3Node DOMString lookupNamespaceURI ( DOMString prefix )
nsIDOM3Node DOMString lookupPrefix ( DOMString namespaceURI )
nsIDOMNode void normalize ( )
nsIDOM3Document void normalizeDocument ( )
nsIDOMNode nsIDOMNode removeChild ( nsIDOMNode oldChild )
nsIDOM3Document nsIDOMNode renameNode ( nsIDOMNode node , DOMString namespaceURI , DOMString qualifiedName )
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