Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Public Attributes
Node Class Reference

#include <dom.h>

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

List of all members.

Public Types

enum  NodeType {
  ELEMENT_NODE = 1, ATTRIBUTE_NODE, TEXT_NODE, CDATA_SECTION_NODE,
  ENTITY_REFERENCE_NODE, ENTITY_NODE, PROCESSING_INSTRUCTION_NODE, COMMENT_NODE,
  DOCUMENT_NODE, DOCUMENT_TYPE_NODE, DOCUMENT_FRAGMENT_NODE, NOTATION_NODE
}

Public Member Functions

 Node ()
virtual ~Node ()
virtual nsresult getNodeName (nsAString &aName) const =0
virtual nsresult getNodeValue (nsAString &aValue)=0
virtual unsigned short getNodeType () const =0
virtual NodegetParentNode () const =0
virtual NodegetFirstChild () const =0
virtual NodegetLastChild () const =0
virtual NodegetPreviousSibling () const =0
virtual NodegetNextSibling () const =0
virtual NamedNodeMapgetAttributes ()=0
virtual DocumentgetOwnerDocument () const =0
virtual void setNodeValue (const nsAString &nodeValue)=0
virtual NodeappendChild (Node *newChild)=0
virtual MBool hasChildNodes () const =0
virtual nsresult getBaseURI (nsAString &aURI)=0
virtual nsresult getNamespaceURI (nsAString &aNSURI)=0
virtual MBool getLocalName (nsIAtom **aLocalName)=0
virtual PRInt32 getNamespaceID ()=0
virtual PRInt32 lookupNamespaceID (nsIAtom *aPrefix)=0
virtual NodegetXPathParent ()=0
virtual PRInt32 compareDocumentPosition (Node *aOther)=0

Public Attributes

char * function
unsigned count
unsigned hits
Nodenext

Detailed Description

Definition at line 108 of file trace.cpp.


Member Enumeration Documentation

Enumerator:
ELEMENT_NODE 
ATTRIBUTE_NODE 
TEXT_NODE 
CDATA_SECTION_NODE 
ENTITY_REFERENCE_NODE 
ENTITY_NODE 
PROCESSING_INSTRUCTION_NODE 
COMMENT_NODE 
DOCUMENT_NODE 
DOCUMENT_TYPE_NODE 
DOCUMENT_FRAGMENT_NODE 
NOTATION_NODE 

Definition at line 90 of file dom.h.


Constructor & Destructor Documentation

Node::Node ( ) [inline]

Definition at line 110 of file trace.cpp.

{function = 0; count = 0; hits = 0; next = 0;};
virtual Node::~Node ( ) [inline, virtual]

Definition at line 105 of file dom.h.

{}

Member Function Documentation

virtual Node* Node::appendChild ( Node newChild) [pure virtual]
virtual PRInt32 Node::compareDocumentPosition ( Node aOther) [pure virtual]

Implemented in NodeDefinition.

virtual NamedNodeMap* Node::getAttributes ( ) [pure virtual]

Implemented in Element, and NodeDefinition.

virtual nsresult Node::getBaseURI ( nsAString &  aURI) [pure virtual]

Implemented in Document, and NodeDefinition.

virtual Node* Node::getFirstChild ( ) const [pure virtual]

Implemented in NodeDefinition.

Here is the caller graph for this function:

virtual Node* Node::getLastChild ( ) const [pure virtual]

Implemented in NodeDefinition.

virtual MBool Node::getLocalName ( nsIAtom **  aLocalName) [pure virtual]
virtual PRInt32 Node::getNamespaceID ( ) [pure virtual]

Implemented in Attr, Element, and NodeDefinition.

virtual nsresult Node::getNamespaceURI ( nsAString &  aNSURI) [pure virtual]

Implemented in NodeDefinition.

virtual Node* Node::getNextSibling ( ) const [pure virtual]

Implemented in NodeDefinition.

Here is the caller graph for this function:

virtual nsresult Node::getNodeName ( nsAString &  aName) const [pure virtual]

Implemented in NodeDefinition.

Here is the caller graph for this function:

virtual unsigned short Node::getNodeType ( ) const [pure virtual]

Implemented in NodeDefinition.

Here is the caller graph for this function:

virtual nsresult Node::getNodeValue ( nsAString &  aValue) [pure virtual]

Implemented in Attr, and NodeDefinition.

Here is the caller graph for this function:

virtual Document* Node::getOwnerDocument ( ) const [pure virtual]

Implemented in NodeDefinition.

virtual Node* Node::getParentNode ( ) const [pure virtual]

Implemented in NodeDefinition.

virtual Node* Node::getPreviousSibling ( ) const [pure virtual]

Implemented in NodeDefinition.

virtual Node* Node::getXPathParent ( ) [pure virtual]

Implemented in Attr, and NodeDefinition.

Here is the caller graph for this function:

virtual MBool Node::hasChildNodes ( ) const [pure virtual]

Implemented in NodeDefinition.

virtual PRInt32 Node::lookupNamespaceID ( nsIAtom aPrefix) [pure virtual]

Implemented in NodeDefinition.

virtual void Node::setNodeValue ( const nsAString &  nodeValue) [pure virtual]

Implemented in Attr, and NodeDefinition.


Member Data Documentation

unsigned Node::count

Definition at line 112 of file trace.cpp.

Definition at line 110 of file trace.cpp.

unsigned Node::hits

Definition at line 113 of file trace.cpp.

Definition at line 114 of file trace.cpp.


The documentation for this class was generated from the following files: