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

dsText Class Reference

#include <dsText.h>

Inheritance diagram for dsText:

dsCharacterData dsNode dsCDATASection 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

 dsText (dsDocument *owner, DOMString data)
 dsText (dsDocument *owner, DOMString data, dsNodeTypes type)
 dsText ()
DOMString data ()
unsigned long length ()
DOMString substringData (unsigned long offset, unsigned long count)
void appendData (DOMString arg)
void insertData (unsigned long offset, DOMString arg)
void deleteData (unsigned long offset, unsigned long count)
void replaceData (unsigned long offset, unsigned long count, DOMString arg)
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

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

dsText::dsText dsDocument   owner,
DOMString    data
 

dsText::dsText dsDocument   owner,
DOMString    data,
dsNodeTypes    type
 

dsText::dsText  
 


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]
 

void dsCharacterData::appendData DOMString    arg [inherited]
 

dsNamedNodeMap dsNode::attributes   [inherited]
 

dsNodeList* dsNode::childNodes   [inherited]
 

dsNode* dsNode::cloneNode bool    deep [inherited]
 

DOMString dsCharacterData::data   [inline, inherited]
 

void dsCharacterData::deleteData unsigned long    offset,
unsigned long    count
[inherited]
 

dsNode* dsNode::firstChild   [inline, inherited]
 

bool dsNode::hasAttributes   [inherited]
 

bool* dsNode::hasChildNodes   [inherited]
 

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

void dsCharacterData::insertData unsigned long    offset,
DOMString    arg
[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]
 

unsigned long dsCharacterData::length   [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]
 

dsNode * dsNode::removeChild dsNode   oldChild [inherited]
 

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

void dsCharacterData::replaceData unsigned long    offset,
unsigned long    count,
DOMString    arg
[inherited]
 

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

void dsNode::setNodeValue DOMString    value [inherited]
 

DOMString dsCharacterData::substringData unsigned long    offset,
unsigned long    count
[inherited]
 


Friends And Related Function Documentation

friend class dsAttr [friend, inherited]
 

Reimplemented in dsDocument, and dsElement.

friend class dsDocument [friend]
 

Reimplemented from dsNode.

Reimplemented in dsCDATASection.

friend class dsElement [friend, inherited]
 

friend class dsXMLParser [friend, inherited]
 

Reimplemented in dsAttr, dsCDATASection, dsComment, and dsElement.


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:27:00 2005 for libdms4 by doxygen1.3-rc2