OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012, 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 interface Node extends EventTarget { | |
8 NodeList get nodes(); | |
9 | |
10 void set nodes(Collection<Node> value); | |
11 | |
12 Node replaceWith(Node otherNode); | |
13 | |
14 Node remove(); | |
15 | |
16 | |
17 static final int ATTRIBUTE_NODE = 2; | |
18 | |
19 static final int CDATA_SECTION_NODE = 4; | |
20 | |
21 static final int COMMENT_NODE = 8; | |
22 | |
23 static final int DOCUMENT_FRAGMENT_NODE = 11; | |
24 | |
25 static final int DOCUMENT_NODE = 9; | |
26 | |
27 static final int DOCUMENT_POSITION_CONTAINED_BY = 0x10; | |
28 | |
29 static final int DOCUMENT_POSITION_CONTAINS = 0x08; | |
30 | |
31 static final int DOCUMENT_POSITION_DISCONNECTED = 0x01; | |
32 | |
33 static final int DOCUMENT_POSITION_FOLLOWING = 0x04; | |
34 | |
35 static final int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; | |
36 | |
37 static final int DOCUMENT_POSITION_PRECEDING = 0x02; | |
38 | |
39 static final int DOCUMENT_TYPE_NODE = 10; | |
40 | |
41 static final int ELEMENT_NODE = 1; | |
42 | |
43 static final int ENTITY_NODE = 6; | |
44 | |
45 static final int ENTITY_REFERENCE_NODE = 5; | |
46 | |
47 static final int NOTATION_NODE = 12; | |
48 | |
49 static final int PROCESSING_INSTRUCTION_NODE = 7; | |
50 | |
51 static final int TEXT_NODE = 3; | |
52 | |
53 final NamedNodeMap _attributes; | |
54 | |
55 final NodeList _childNodes; | |
56 | |
57 final Node nextNode; | |
58 | |
59 final Document document; | |
60 | |
61 final Node parent; | |
62 | |
63 final Node previousNode; | |
64 | |
65 String text; | |
66 | |
67 Node _appendChild(Node newChild); | |
68 | |
69 Node clone(bool deep); | |
70 | |
71 bool contains(Node other); | |
72 | |
73 bool hasChildNodes(); | |
74 | |
75 Node insertBefore(Node newChild, Node refChild); | |
76 | |
77 Node _removeChild(Node oldChild); | |
78 | |
79 Node _replaceChild(Node newChild, Node oldChild); | |
80 | |
81 } | |
OLD | NEW |