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 _CharacterDataWrappingImplementation extends _NodeWrappingImplementation i
mplements CharacterData { | |
8 _CharacterDataWrappingImplementation() : super() {} | |
9 | |
10 static create__CharacterDataWrappingImplementation() native { | |
11 return new _CharacterDataWrappingImplementation(); | |
12 } | |
13 | |
14 String get data() { return _get_data(this); } | |
15 static String _get_data(var _this) native; | |
16 | |
17 void set data(String value) { _set_data(this, value); } | |
18 static void _set_data(var _this, String value) native; | |
19 | |
20 int get length() { return _get_length(this); } | |
21 static int _get_length(var _this) native; | |
22 | |
23 void appendData(String data) { | |
24 _appendData(this, data); | |
25 return; | |
26 } | |
27 static void _appendData(receiver, data) native; | |
28 | |
29 void deleteData(int offset, int length) { | |
30 _deleteData(this, offset, length); | |
31 return; | |
32 } | |
33 static void _deleteData(receiver, offset, length) native; | |
34 | |
35 void insertData(int offset, String data) { | |
36 _insertData(this, offset, data); | |
37 return; | |
38 } | |
39 static void _insertData(receiver, offset, data) native; | |
40 | |
41 void replaceData(int offset, int length, String data) { | |
42 _replaceData(this, offset, length, data); | |
43 return; | |
44 } | |
45 static void _replaceData(receiver, offset, length, data) native; | |
46 | |
47 String substringData(int offset, int length) { | |
48 return _substringData(this, offset, length); | |
49 } | |
50 static String _substringData(receiver, offset, length) native; | |
51 | |
52 String get typeName() { return "CharacterData"; } | |
53 } | |
OLD | NEW |