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 interface XMLElement extends Element default XMLElementWrappingImplementation { | |
6 | |
7 XMLElement.tag(String tag); | |
8 XMLElement.xml(String tag); | |
9 | |
10 XMLElement get firstElementChild(); | |
11 | |
12 XMLElement get lastElementChild(); | |
13 | |
14 XMLElement get nextElementSibling(); | |
15 | |
16 XMLElement get previousElementSibling(); | |
17 | |
18 XMLElement get offsetParent(); | |
Jacob
2012/02/22 21:55:00
Why is there a user visible XMLElement interface?
nweiz
2012/02/23 00:35:06
See my reply to the overall CL comment.
| |
19 | |
20 XMLElement get parent(); | |
21 | |
22 XMLElement insertAdjacentElement([String where, XMLElement element]); | |
23 | |
24 XMLElement query(String selectors); | |
25 | |
26 XMLElement clone(bool deep); | |
27 } | |
OLD | NEW |