Menu

[r11]: / branches / dasho / DOM / interface / Node.h  Maximize  Restore  History

Download this file

54 lines (43 with data), 2.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef _Node_H_
#define _Node_H_
#include "DOM.h"
class Node {
public:
static const unsigned short ELEMENT_NODE = 1;
static const unsigned short ATTRIBUTE_NODE = 2;
static const unsigned short TEXT_NODE = 3;
static const unsigned short CDATA_SECTION_NODE = 4;
static const unsigned short ENTITY_REFERENCE_NODE = 5;
static const unsigned short ENTITY_NODE = 6;
static const unsigned short PROCESSING_INSTRUCTION_NODE = 7;
static const unsigned short COMMENT_NODE = 8;
static const unsigned short DOCUMENT_NODE = 9;
static const unsigned short DOCUMENT_TYPE_NODE = 10;
static const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
static const unsigned short NOTATION_NODE = 12;
virtual String getNodeName();
virtual String getNodeValue()
throw (DOMException&);
virtual void setNodeValue(String nodeValue)
throw (DOMException&);
virtual short getNodeType();
virtual Node* getParentNode();
virtual NodeList* getChildNodes();
virtual Node* getFirstChild();
virtual Node* getLastChild();
virtual Node* getPreviousSibling();
virtual Node* getNextSibling();
virtual NamedNodeMap* getAttributes();
virtual Document* getOwnerDocument();
virtual Node* insertBefore(Node* newChild, Node* refChild)
throw (DOMException&);
virtual Node* replaceChild(Node* newChild, Node* oldChild)
throw (DOMException&);
virtual Node* removeChild(Node* oldChild)
throw (DOMException&);
virtual Node* appendChild(Node* newChild)
throw (DOMException&);
virtual boolean hasChildNodes();
virtual Node* cloneNode(boolean deep);
};
#endif // _Node_H_
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.