OLD | NEW |
| (Empty) |
1 | |
2 class _NodeJs extends _EventTargetJs implements Node native "*Node" { | |
3 | |
4 static final int ATTRIBUTE_NODE = 2; | |
5 | |
6 static final int CDATA_SECTION_NODE = 4; | |
7 | |
8 static final int COMMENT_NODE = 8; | |
9 | |
10 static final int DOCUMENT_FRAGMENT_NODE = 11; | |
11 | |
12 static final int DOCUMENT_NODE = 9; | |
13 | |
14 static final int DOCUMENT_POSITION_CONTAINED_BY = 0x10; | |
15 | |
16 static final int DOCUMENT_POSITION_CONTAINS = 0x08; | |
17 | |
18 static final int DOCUMENT_POSITION_DISCONNECTED = 0x01; | |
19 | |
20 static final int DOCUMENT_POSITION_FOLLOWING = 0x04; | |
21 | |
22 static final int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; | |
23 | |
24 static final int DOCUMENT_POSITION_PRECEDING = 0x02; | |
25 | |
26 static final int DOCUMENT_TYPE_NODE = 10; | |
27 | |
28 static final int ELEMENT_NODE = 1; | |
29 | |
30 static final int ENTITY_NODE = 6; | |
31 | |
32 static final int ENTITY_REFERENCE_NODE = 5; | |
33 | |
34 static final int NOTATION_NODE = 12; | |
35 | |
36 static final int PROCESSING_INSTRUCTION_NODE = 7; | |
37 | |
38 static final int TEXT_NODE = 3; | |
39 | |
40 final _NamedNodeMapJs attributes; | |
41 | |
42 final String baseURI; | |
43 | |
44 final _NodeListJs childNodes; | |
45 | |
46 final _NodeJs firstChild; | |
47 | |
48 final _NodeJs lastChild; | |
49 | |
50 final String localName; | |
51 | |
52 final String namespaceURI; | |
53 | |
54 final _NodeJs nextSibling; | |
55 | |
56 final String nodeName; | |
57 | |
58 final int nodeType; | |
59 | |
60 String nodeValue; | |
61 | |
62 final _DocumentJs ownerDocument; | |
63 | |
64 final _ElementJs parentElement; | |
65 | |
66 final _NodeJs parentNode; | |
67 | |
68 String prefix; | |
69 | |
70 final _NodeJs previousSibling; | |
71 | |
72 String textContent; | |
73 | |
74 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
75 | |
76 _NodeJs appendChild(_NodeJs newChild) native; | |
77 | |
78 _NodeJs cloneNode(bool deep) native; | |
79 | |
80 int compareDocumentPosition(_NodeJs other) native; | |
81 | |
82 bool contains(_NodeJs other) native; | |
83 | |
84 bool dispatchEvent(_EventJs event) native; | |
85 | |
86 bool hasAttributes() native; | |
87 | |
88 bool hasChildNodes() native; | |
89 | |
90 _NodeJs insertBefore(_NodeJs newChild, _NodeJs refChild) native; | |
91 | |
92 bool isDefaultNamespace(String namespaceURI) native; | |
93 | |
94 bool isEqualNode(_NodeJs other) native; | |
95 | |
96 bool isSameNode(_NodeJs other) native; | |
97 | |
98 bool isSupported(String feature, String version) native; | |
99 | |
100 String lookupNamespaceURI(String prefix) native; | |
101 | |
102 String lookupPrefix(String namespaceURI) native; | |
103 | |
104 void normalize() native; | |
105 | |
106 _NodeJs removeChild(_NodeJs oldChild) native; | |
107 | |
108 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
109 | |
110 _NodeJs replaceChild(_NodeJs newChild, _NodeJs oldChild) native; | |
111 } | |
OLD | NEW |