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