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 imp
lements CharacterData { | |
8 CharacterDataWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 String get data() { return _ptr.data; } | |
11 | |
12 void set data(String value) { _ptr.data = value; } | |
13 | |
14 int get length() { return _ptr.length; } | |
15 | |
16 void appendData(String data) { | |
17 _ptr.appendData(data); | |
18 return; | |
19 } | |
20 | |
21 void deleteData(int offset, int length) { | |
22 _ptr.deleteData(offset, length); | |
23 return; | |
24 } | |
25 | |
26 void insertData(int offset, String data) { | |
27 _ptr.insertData(offset, data); | |
28 return; | |
29 } | |
30 | |
31 void replaceData(int offset, int length, String data) { | |
32 _ptr.replaceData(offset, length, data); | |
33 return; | |
34 } | |
35 | |
36 String substringData(int offset, int length) { | |
37 return _ptr.substringData(offset, length); | |
38 } | |
39 } | |
OLD | NEW |