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

dsElement Class Reference

#include <dsElement.h>

Inheritance diagram for dsElement:

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

DOMString tagName ()
DOMString getAttribute (DOMString name)
void setAttribute (DOMString name, DOMString value)
void setAttribute (DOMString name, int value)
void removeAttribute (DOMString name)
dsAttrgetAttributeNode (DOMString name)
dsAttrsetAttributeNode (dsAttr *newAttr)
dsAttrremoveAttributeNode (dsAttr *oldAttr)
bool hasAttribute (DOMString name)
dsNodeListgetElementsByTagName (DOMString name)
DOMString getAttributeNS (DOMString namespaceURI, DOMString localName)
void setAttributeNS (DOMString namespaceURI, DOMString qualifiedName, DOMString value)
void removeAttributeNS (DOMString namespaceURI, DOMString localName)
dsAttrgetAttributeNodeNS (DOMString namespaceURI, DOMString localName)
dsAttrsetAttributeNodeNS (dsAttr *newAttr)
dsNodeList getElementsByTagNameNS (DOMString namespaceURI, DOMString localName)
bool hasAttributeNS (DOMString namespaceURI, DOMString localName)
dsNodeinsertBefore (dsNode *newChild, dsNode *refChild)
dsNodereplaceChild (dsNode *newChild, dsNode *oldChild)
dsNoderemoveChild (dsNode *oldChild)
dsNodeappendChild (dsNode *newChild)
bool * hasChildNodes ()
dsNodecloneNode (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 ()
dsNodeparentNode ()
dsNodefirstChild ()
dsNodelastChild ()
dsNodepreviousSibling ()
dsNodenextSibling ()
dsDocumentownerDocument ()
void setNodeValue (DOMString value)
bool isTextNode ()
bool isAttrNode ()
bool isElementNode ()
bool isDocumentNode ()
bool isCommentNode ()
bool isProcessingInstructionNode ()

Protected Methods

 dsElement (dsDocument *owner, DOMString name)
 dsElement (dsDocument *owner)
 ~dsElement ()
void setNodeName (DOMString newone)
dsNode__removeChildIfExists (dsNode *oldChild)
dsNode__checkDirectChild (dsNode *oldChild)
dsNode__fastAppendChild (dsNode *newChild)
void __checkReadOnly ()

Protected Attributes

DOMString _id
DOMString _nodeName
DOMString _nodeValue
dsNodeTypes _nodeType
dsNode_parentNode
dsNode_firstChild
dsNode_lastChild
dsNode_previousSibling
dsNode_nextSibling
dsDocument_ownerDocument
DOMString _namespaceURI

Friends

class dsDocument
class dsAttr
class dsXMLParser
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

dsElement::dsElement dsDocument   owner,
DOMString    name
[protected]
 

dsElement::dsElement dsDocument   owner [protected]
 

dsElement::~dsElement   [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]
 

DOMString dsElement::getAttribute DOMString    name
 

dsAttr * dsElement::getAttributeNode DOMString    name
 

dsAttr * dsElement::getAttributeNodeNS DOMString    namespaceURI,
DOMString    localName
 

DOMString dsElement::getAttributeNS DOMString    namespaceURI,
DOMString    localName
 

dsNodeList * dsElement::getElementsByTagName DOMString    name
 

dsNodeList dsElement::getElementsByTagNameNS DOMString    namespaceURI,
DOMString    localName
 

bool dsElement::hasAttribute DOMString    name
 

bool dsElement::hasAttributeNS DOMString    namespaceURI,
DOMString    localName
 

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]
 

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]
 

dsNode* dsNode::parentNode   [inline, inherited]
 

DOMString dsNode::prefix   [inherited]
 

dsNode* dsNode::previousSibling   [inline, inherited]
 

void dsElement::removeAttribute DOMString    name
 

dsAttr * dsElement::removeAttributeNode dsAttr   oldAttr
 

void dsElement::removeAttributeNS DOMString    namespaceURI,
DOMString    localName
 

dsNode * dsNode::removeChild dsNode   oldChild [inherited]
 

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

void dsElement::setAttribute DOMString    name,
int    value
 

void dsElement::setAttribute DOMString    name,
DOMString    value
 

dsAttr * dsElement::setAttributeNode dsAttr   newAttr
 

dsAttr * dsElement::setAttributeNodeNS dsAttr   newAttr
 

void dsElement::setAttributeNS DOMString    namespaceURI,
DOMString    qualifiedName,
DOMString    value
 

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

void dsNode::setNodeValue DOMString    value [inherited]
 

DOMString dsElement::tagName   [inline]
 


Friends And Related Function Documentation

friend class dsAttr [friend]
 

Reimplemented from dsNode.

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]
 

DOMString dsElement::_id [protected]
 

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