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