OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class _NodeWrappingImplementation extends DOMWrapperBase implements Node { | |
8 _NodeWrappingImplementation() : super() {} | |
9 | |
10 static create__NodeWrappingImplementation() native { | |
11 return new _NodeWrappingImplementation(); | |
12 } | |
13 | |
14 NamedNodeMap get attributes() { return _get_attributes(this); } | |
15 static NamedNodeMap _get_attributes(var _this) native; | |
16 | |
17 String get baseURI() { return _get_baseURI(this); } | |
18 static String _get_baseURI(var _this) native; | |
19 | |
20 NodeList get childNodes() { return _get_childNodes(this); } | |
21 static NodeList _get_childNodes(var _this) native; | |
22 | |
23 Node get firstChild() { return _get_firstChild(this); } | |
24 static Node _get_firstChild(var _this) native; | |
25 | |
26 Node get lastChild() { return _get_lastChild(this); } | |
27 static Node _get_lastChild(var _this) native; | |
28 | |
29 String get localName() { return _get_localName(this); } | |
30 static String _get_localName(var _this) native; | |
31 | |
32 String get namespaceURI() { return _get_namespaceURI(this); } | |
33 static String _get_namespaceURI(var _this) native; | |
34 | |
35 Node get nextSibling() { return _get_nextSibling(this); } | |
36 static Node _get_nextSibling(var _this) native; | |
37 | |
38 String get nodeName() { return _get_nodeName(this); } | |
39 static String _get_nodeName(var _this) native; | |
40 | |
41 int get nodeType() { return _get_nodeType(this); } | |
42 static int _get_nodeType(var _this) native; | |
43 | |
44 String get nodeValue() { return _get_nodeValue(this); } | |
45 static String _get_nodeValue(var _this) native; | |
46 | |
47 void set nodeValue(String value) { _set_nodeValue(this, value); } | |
48 static void _set_nodeValue(var _this, String value) native; | |
49 | |
50 Document get ownerDocument() { return _get_ownerDocument(this); } | |
51 static Document _get_ownerDocument(var _this) native; | |
52 | |
53 Element get parentElement() { return _get_parentElement(this); } | |
54 static Element _get_parentElement(var _this) native; | |
55 | |
56 Node get parentNode() { return _get_parentNode(this); } | |
57 static Node _get_parentNode(var _this) native; | |
58 | |
59 String get prefix() { return _get_prefix(this); } | |
60 static String _get_prefix(var _this) native; | |
61 | |
62 void set prefix(String value) { _set_prefix(this, value); } | |
63 static void _set_prefix(var _this, String value) native; | |
64 | |
65 Node get previousSibling() { return _get_previousSibling(this); } | |
66 static Node _get_previousSibling(var _this) native; | |
67 | |
68 String get textContent() { return _get_textContent(this); } | |
69 static String _get_textContent(var _this) native; | |
70 | |
71 void set textContent(String value) { _set_textContent(this, value); } | |
72 static void _set_textContent(var _this, String value) native; | |
73 | |
74 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | |
75 if (useCapture === null) { | |
76 _addEventListener_Node(this, type, listener); | |
77 return; | |
78 } else { | |
79 _addEventListener_Node_2(this, type, listener, useCapture); | |
80 return; | |
81 } | |
82 } | |
83 static void _addEventListener_Node(receiver, type, listener) native; | |
84 static void _addEventListener_Node_2(receiver, type, listener, useCapture) nat
ive; | |
85 | |
86 Node appendChild(Node newChild) { | |
87 return _appendChild(this, newChild); | |
88 } | |
89 static Node _appendChild(receiver, newChild) native; | |
90 | |
91 Node cloneNode(bool deep) { | |
92 return _cloneNode(this, deep); | |
93 } | |
94 static Node _cloneNode(receiver, deep) native; | |
95 | |
96 int compareDocumentPosition(Node other) { | |
97 return _compareDocumentPosition(this, other); | |
98 } | |
99 static int _compareDocumentPosition(receiver, other) native; | |
100 | |
101 bool contains(Node other) { | |
102 return _contains(this, other); | |
103 } | |
104 static bool _contains(receiver, other) native; | |
105 | |
106 bool dispatchEvent(Event event) { | |
107 return _dispatchEvent_Node(this, event); | |
108 } | |
109 static bool _dispatchEvent_Node(receiver, event) native; | |
110 | |
111 bool hasAttributes() { | |
112 return _hasAttributes(this); | |
113 } | |
114 static bool _hasAttributes(receiver) native; | |
115 | |
116 bool hasChildNodes() { | |
117 return _hasChildNodes(this); | |
118 } | |
119 static bool _hasChildNodes(receiver) native; | |
120 | |
121 Node insertBefore(Node newChild, Node refChild) { | |
122 return _insertBefore(this, newChild, refChild); | |
123 } | |
124 static Node _insertBefore(receiver, newChild, refChild) native; | |
125 | |
126 bool isDefaultNamespace(String namespaceURI) { | |
127 return _isDefaultNamespace(this, namespaceURI); | |
128 } | |
129 static bool _isDefaultNamespace(receiver, namespaceURI) native; | |
130 | |
131 bool isEqualNode(Node other) { | |
132 return _isEqualNode(this, other); | |
133 } | |
134 static bool _isEqualNode(receiver, other) native; | |
135 | |
136 bool isSameNode(Node other) { | |
137 return _isSameNode(this, other); | |
138 } | |
139 static bool _isSameNode(receiver, other) native; | |
140 | |
141 bool isSupported(String feature, String version) { | |
142 return _isSupported(this, feature, version); | |
143 } | |
144 static bool _isSupported(receiver, feature, version) native; | |
145 | |
146 String lookupNamespaceURI(String prefix) { | |
147 return _lookupNamespaceURI(this, prefix); | |
148 } | |
149 static String _lookupNamespaceURI(receiver, prefix) native; | |
150 | |
151 String lookupPrefix(String namespaceURI) { | |
152 return _lookupPrefix(this, namespaceURI); | |
153 } | |
154 static String _lookupPrefix(receiver, namespaceURI) native; | |
155 | |
156 void normalize() { | |
157 _normalize(this); | |
158 return; | |
159 } | |
160 static void _normalize(receiver) native; | |
161 | |
162 Node removeChild(Node oldChild) { | |
163 return _removeChild(this, oldChild); | |
164 } | |
165 static Node _removeChild(receiver, oldChild) native; | |
166 | |
167 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) { | |
168 if (useCapture === null) { | |
169 _removeEventListener_Node(this, type, listener); | |
170 return; | |
171 } else { | |
172 _removeEventListener_Node_2(this, type, listener, useCapture); | |
173 return; | |
174 } | |
175 } | |
176 static void _removeEventListener_Node(receiver, type, listener) native; | |
177 static void _removeEventListener_Node_2(receiver, type, listener, useCapture)
native; | |
178 | |
179 Node replaceChild(Node newChild, Node oldChild) { | |
180 return _replaceChild(this, newChild, oldChild); | |
181 } | |
182 static Node _replaceChild(receiver, newChild, oldChild) native; | |
183 | |
184 String get typeName() { return "Node"; } | |
185 } | |
OLD | NEW |