| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
| 13 * | 13 * |
| 14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
| 15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
| 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
| 18 */ | 18 */ |
| 19 | 19 |
| 20 module core { | 20 module core { |
| 21 | 21 |
| 22 interface [ | 22 interface [ |
| 23 GenerateConstructor, | 23 GenerateConstructor, |
| 24 InterfaceUUID=149159F4-D2BA-4040-8137-6BF6424C972A, | 24 InterfaceUUID=149159F4-D2BA-4040-8137-6BF6424C972A, |
| 25 ImplementationUUID=E2095280-B9BD-446a-8C03-79F78417CDFF | 25 ImplementationUUID=E2095280-B9BD-446a-8C03-79F78417CDFF |
| 26 ] CharacterData : Node { | 26 ] CharacterData : EventTargetNode { |
| 27 | 27 |
| 28 attribute [ConvertNullToNullString] DOMString data | 28 attribute [ConvertNullToNullString] DOMString data |
| 29 setter raises(DOMException); | 29 setter raises(DOMException); |
| 30 | 30 |
| 31 readonly attribute unsigned long length; | 31 readonly attribute unsigned long length; |
| 32 | 32 |
| 33 [ConvertNullStringTo=Null, OldStyleObjC] DOMString substringData(in [IsI
ndex] unsigned long offset, | 33 [ConvertNullStringTo=Null, OldStyleObjC] DOMString substringData(in [IsI
ndex] unsigned long offset, |
| 34 in [IsIndex] unsigned
long length) | 34 in [IsIndex] unsigned
long length) |
| 35 raises(DOMException); | 35 raises(DOMException); |
| 36 | 36 |
| 37 void appendData(in DOMString data) | 37 void appendData(in DOMString data) |
| 38 raises(DOMException); | 38 raises(DOMException); |
| 39 | 39 |
| 40 [OldStyleObjC] void insertData(in [IsIndex] unsigned long offset, | 40 [OldStyleObjC] void insertData(in [IsIndex] unsigned long offset, |
| 41 in DOMString data) | 41 in DOMString data) |
| 42 raises(DOMException); | 42 raises(DOMException); |
| 43 | 43 |
| 44 [OldStyleObjC] void deleteData(in [IsIndex] unsigned long offset, | 44 [OldStyleObjC] void deleteData(in [IsIndex] unsigned long offset, |
| 45 in [IsIndex] unsigned long length) | 45 in [IsIndex] unsigned long length) |
| 46 raises(DOMException); | 46 raises(DOMException); |
| 47 | 47 |
| 48 [OldStyleObjC] void replaceData(in [IsIndex] unsigned long offset, | 48 [OldStyleObjC] void replaceData(in [IsIndex] unsigned long offset, |
| 49 in [IsIndex] unsigned long length, | 49 in [IsIndex] unsigned long length, |
| 50 in DOMString data) | 50 in DOMString data) |
| 51 raises(DOMException); | 51 raises(DOMException); |
| 52 | 52 |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } | 55 } |
| OLD | NEW |