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

dsAttr Class Reference

#include <dsAttr.h>

Inheritance diagram for dsAttr:

dsNode 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

bool specified ()
DOMString name ()
DOMString value ()
dsElement * ownerElement ()
void setValue (DOMString newvalue)
void setValue (long newvalue)
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 ()
dsNodeList * childNodes ()
DOMString nodeName ()
DOMString nodeValue ()
dsNodeTypes nodeType ()
dsNode * parentNode ()
dsNode * firstChild ()
dsNode * lastChild ()
dsNode * previousSibling ()
dsNode * nextSibling ()
dsDocument * ownerDocument ()
void setNodeValue (DOMString value)
bool isTextNode ()
bool isAttrNode ()
bool isElementNode ()
bool isDocumentNode ()
bool isCommentNode ()
bool isProcessingInstructionNode ()

Protected Methods

 dsAttr (dsElement *owner, DOMString name)
 dsAttr (dsDocument *owner, DOMString name)
 dsAttr (dsDocument *owner)
 ~dsAttr ()
void setNodeName (DOMString newone)
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 dsDocument
class dsXMLParser
class dsAttr
class dsElement

Member Enumeration Documentation

enum dsNode::dsNodeTypes [inherited]
 

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

dsAttr::dsAttr (  dsElement *    owner,
DOMString    name
)  [protected]
 

dsAttr::dsAttr (  dsDocument *    owner,
DOMString    name
)  [protected]
 

dsAttr::dsAttr (  dsDocument *    owner )  [protected]
 

dsAttr::~dsAttr (    )  [protected]
 


Member Function Documentation

dsNode * dsNode::__checkDirectChild (  dsNode *    oldChild )  [protected, inherited]
 

void dsNode::__checkReadOnly (    )  [protected, inherited]
 

dsNode * dsNode::__fastAppendChild (  dsNode *    newChild )  [protected, inherited]
 

dsNode * dsNode::__removeChildIfExists (  dsNode *    oldChild )  [protected, inherited]
 

dsNode * dsNode::appendChild (  dsNode *    newChild )  [inherited]
 

dsNamedNodeMap dsNode::attributes (    )  [inherited]
 

dsNodeList* dsNode::childNodes (    )  [inherited]
 

dsNode* dsNode::cloneNode (  bool    deep )  [inherited]
 

dsNode* dsNode::firstChild (    )  [inline, inherited]
 

bool dsNode::hasAttributes (    )  [inherited]
 

bool* dsNode::hasChildNodes (    )  [inherited]
 

dsNode * dsNode::insertBefore (  dsNode *    newChild,
dsNode *    refChild
)  [inherited]
 

bool dsNode::isAttrNode (    )  [inline, inherited]
 

bool dsNode::isCommentNode (    )  [inline, inherited]
 

bool dsNode::isDocumentNode (    )  [inline, inherited]
 

bool dsNode::isElementNode (    )  [inline, inherited]
 

bool dsNode::isProcessingInstructionNode (    )  [inline, inherited]
 

bool dsNode::isSupported (  DOMString    feature,
DOMString    version
)  [inherited]
 

bool dsNode::isTextNode (    )  [inline, inherited]
 

dsNode* dsNode::lastChild (    )  [inline, inherited]
 

DOMString dsNode::localName (    )  [inherited]
 

DOMString dsAttr::name (    )  [inline]
 

dsNode* dsNode::nextSibling (    )  [inline, inherited]
 

DOMString dsNode::nodeName (    )  [inline, inherited]
 

dsNodeTypes dsNode::nodeType (    )  [inline, inherited]
 

DOMString dsNode::nodeValue (    )  [inline, inherited]
 

void dsNode::normalize (    )  [inherited]
 

dsDocument* dsNode::ownerDocument (    )  [inline, inherited]
 

dsElement* dsAttr::ownerElement (    )  [inline]
 

dsNode* dsNode::parentNode (    )  [inline, inherited]
 

DOMString dsNode::prefix (    )  [inherited]
 

dsNode* dsNode::previousSibling (    )  [inline, inherited]
 

dsNode * dsNode::removeChild (  dsNode *    oldChild )  [inherited]
 

dsNode * dsNode::replaceChild (  dsNode *    newChild,
dsNode *    oldChild
)  [inherited]
 

void dsNode::setNodeName (  DOMString    newone )  [protected, inherited]
 

void dsNode::setNodeValue (  DOMString    value )  [inherited]
 

void dsAttr::setValue (  long    newvalue ) 
 

void dsAttr::setValue (  DOMString    newvalue ) 
 

bool dsAttr::specified (    )  [inline]
 

DOMString dsAttr::value (    )  [inline]
 


Friends And Related Function Documentation

friend class dsAttr [friend, inherited]
 

Reimplemented in dsDocument, and dsElement.

friend class dsDocument [friend]
 

Reimplemented from dsNode.

friend class dsElement [friend, inherited]
 

friend class dsXMLParser [friend]
 

Reimplemented from dsNode.


Member Data Documentation

dsNode* dsNode::_firstChild [protected, inherited]
 

dsNode* dsNode::_lastChild [protected, inherited]
 

DOMString dsNode::_namespaceURI [protected, inherited]
 

dsNode* dsNode::_nextSibling [protected, inherited]
 

DOMString dsNode::_nodeName [protected, inherited]
 

dsNodeTypes dsNode::_nodeType [protected, inherited]
 

DOMString dsNode::_nodeValue [protected, inherited]
 

dsDocument* dsNode::_ownerDocument [protected, inherited]
 

dsNode* dsNode::_parentNode [protected, inherited]
 

dsNode* dsNode::_previousSibling [protected, inherited]
 


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