|
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 |
dsDocumentType * | doctype () |
dsDOMImplementation * | implementation () |
dsElement * | documentElement () |
dsElement * | createElement (DOMString tagName) |
dsDocumentFragment * | createDocumentFragment () |
dsText * | createTextNode (DOMString data) |
dsComment * | createComment (DOMString data) |
dsCDATASection * | createCDATASection (DOMString data) |
dsProcessingInstruction * | createProcessingInstruction (DOMString target, DOMString data) |
dsProcessingInstruction * | createProcessingInstruction (DOMString target) |
dsAttr * | createAttribute (DOMString name) |
dsEntityReference * | createEntityReference (DOMString name) |
dsNodeList * | getElementsByTagName (DOMString tagname) |
dsElement * | getElementById (DOMString elementId) |
dsNode * | importNode (dsNode importeddsNode, bool deep) |
dsElement * | createElementNS (DOMString namespaceURI, DOMString qualifiedName) |
dsAttr * | createAttributeNS (DOMString namespaceURI, DOMString qualifiedName) |
dsNodeList * | getElementsByTagNameNS (DOMString namespaceURI, DOMString localName) |
bool | isReadOnly () |
void | setContent (std::istream &is, bool readOnly=false) |
void | writeContent (std::ostream &os) |
void | createDocumentHeader (char *version, char *encoding) |
dsNode * | findChild (const DOMString tag, dsNode *root, dsNodeTypes type=EMPTY_NODE) |
dsNode * | textChild (dsNode *root) |
| dsDocument () |
| ~dsDocument () |
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 |
void | setNodeName (DOMString newone) |
dsNode * | __removeChildIfExists (dsNode *oldChild) |
dsNode * | __checkDirectChild (dsNode *oldChild) |
dsNode * | __fastAppendChild (dsNode *newChild) |
void | __checkReadOnly () |
Protected Attributes |
dsXMLParser * | _pr |
bool | _read_only |
DOMString | _nodeName |
DOMString | _nodeValue |
dsNodeTypes | _nodeType |
dsNode * | _parentNode |
dsNode * | _firstChild |
dsNode * | _lastChild |
dsNode * | _previousSibling |
dsNode * | _nextSibling |
dsDocument * | _ownerDocument |
DOMString | _namespaceURI |
Friends |
class | dsAttr |
class | dsXMLParser |
class | dsElement |
class | dsDocument |