Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

dsNode Class Reference

#include <dsNode.h>

Inheritance diagram for dsNode:

dsAttr dsCharacterData dsDocument dsDocumentFragment dsDocumentType dsElement dsEntity dsEntityReference dsNotation dsProcessingInstruction List of all members.

Public Types

enum  dsNodeTypes {
  EMPTY_NODE = 0, ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3,
  CDATA_SECTION_NODE = 4, ENTITY_REFERENCE_NODE = 5, ENTITY_NODE = 6, PROCESSING_INSTRUCTION_NODE = 7,
  COMMENT_NODE = 8, DOCUMENT_NODE = 9, DOCUMENT_TYPE_NODE = 10, DOCUMENT_FRAGMENT_NODE = 11,
  NOTATION_NODE = 12
}

Public Methods

 ~dsNode ()
dsNode * insertBefore (dsNode *newChild, dsNode *refChild)
dsNode * replaceChild (dsNode *newChild, dsNode *oldChild)
dsNode * removeChild (dsNode *oldChild)
dsNode * appendChild (dsNode *newChild)
bool * hasChildNodes ()
dsNode * cloneNode (bool deep)
void normalize ()
bool isSupported (DOMString feature, DOMString version)
DOMString prefix ()
DOMString localName ()
bool hasAttributes ()
dsNamedNodeMap attributes ()
dsNodeListchildNodes ()
DOMString nodeName ()
DOMString nodeValue ()
dsNodeTypes nodeType ()
dsNode * parentNode ()
dsNode * firstChild ()
dsNode * lastChild ()
dsNode * previousSibling ()
dsNode * nextSibling ()
dsDocumentownerDocument ()
void setNodeValue (DOMString value)
bool isTextNode ()
bool isAttrNode ()
bool isElementNode ()
bool isDocumentNode ()
bool isCommentNode ()
bool isProcessingInstructionNode ()

Protected Methods

void setNodeName (DOMString newone)
 dsNode (dsDocument *owner, dsNodeTypes type)
 dsNode (dsDocument *owner, DOMString name, dsNodeTypes type)
 dsNode ()
dsNode * __removeChildIfExists (dsNode *oldChild)
dsNode * __checkDirectChild (dsNode *oldChild)
dsNode * __fastAppendChild (dsNode *newChild)
void __checkReadOnly ()

Protected Attributes

DOMString _nodeName
DOMString _nodeValue
dsNodeTypes _nodeType
dsNode * _parentNode
dsNode * _firstChild
dsNode * _lastChild
dsNode * _previousSibling
dsNode * _nextSibling
dsDocument_ownerDocument
DOMString _namespaceURI

Friends

class dsXMLParser
class dsAttr
class dsElement
class dsDocument

Member Enumeration Documentation

enum dsNode::dsNodeTypes
 

Enumeration values:
EMPTY_NODE 
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 


Constructor & Destructor Documentation

dsNode::dsNode dsDocument   owner,
dsNodeTypes    type
[protected]
 

dsNode::dsNode dsDocument   owner,
DOMString    name,
dsNodeTypes    type
[protected]
 

dsNode::dsNode   [protected]
 

dsNode::~dsNode  
 


Member Function Documentation

dsNode * dsNode::__checkDirectChild dsNode *    oldChild [protected]
 

void dsNode::__checkReadOnly   [protected]
 

dsNode * dsNode::__fastAppendChild dsNode *    newChild [protected]
 

dsNode * dsNode::__removeChildIfExists dsNode *    oldChild [protected]
 

dsNode * dsNode::appendChild dsNode *    newChild
 

dsNamedNodeMap dsNode::attributes  
 

dsNodeList* dsNode::childNodes  
 

dsNode* dsNode::cloneNode bool    deep
 

dsNode* dsNode::firstChild   [inline]
 

bool dsNode::hasAttributes  
 

bool* dsNode::hasChildNodes  
 

dsNode * dsNode::insertBefore dsNode *    newChild,
dsNode *    refChild
 

bool dsNode::isAttrNode   [inline]
 

bool dsNode::isCommentNode   [inline]
 

bool dsNode::isDocumentNode   [inline]
 

bool dsNode::isElementNode   [inline]
 

bool dsNode::isProcessingInstructionNode   [inline]
 

bool dsNode::isSupported DOMString    feature,
DOMString    version
 

bool dsNode::isTextNode   [inline]
 

dsNode* dsNode::lastChild   [inline]
 

DOMString dsNode::localName  
 

dsNode* dsNode::nextSibling   [inline]
 

DOMString dsNode::nodeName   [inline]
 

dsNodeTypes dsNode::nodeType   [inline]
 

DOMString dsNode::nodeValue   [inline]
 

void dsNode::normalize  
 

dsDocument* dsNode::ownerDocument   [inline]
 

dsNode* dsNode::parentNode   [inline]
 

DOMString dsNode::prefix  
 

dsNode* dsNode::previousSibling   [inline]
 

dsNode * dsNode::removeChild dsNode *    oldChild
 

dsNode * dsNode::replaceChild dsNode *    newChild,
dsNode *    oldChild
 

void dsNode::setNodeName DOMString    newone [protected]
 

void dsNode::setNodeValue DOMString    value
 


Friends And Related Function Documentation

friend class dsAttr [friend]
 

Reimplemented in dsDocument, and dsElement.

friend class dsDocument [friend]
 

Reimplemented in dsAttr, dsCDATASection, dsComment, dsElement, and dsText.

friend class dsElement [friend]
 

friend class dsXMLParser [friend]
 

Reimplemented in dsAttr, dsCDATASection, dsComment, and dsElement.


Member Data Documentation

dsNode* dsNode::_firstChild [protected]
 

dsNode* dsNode::_lastChild [protected]
 

DOMString dsNode::_namespaceURI [protected]
 

dsNode* dsNode::_nextSibling [protected]
 

DOMString dsNode::_nodeName [protected]
 

dsNodeTypes dsNode::_nodeType [protected]
 

DOMString dsNode::_nodeValue [protected]
 

dsDocument* dsNode::_ownerDocument [protected]
 

dsNode* dsNode::_parentNode [protected]
 

dsNode* dsNode::_previousSibling [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon May 16 18:27:00 2005 for libdms4 by doxygen1.3-rc2