Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/*
|
|
|
|
* The contents of this file are subject to the Netscape Public
|
2001-02-09 14:39:07 +03:00
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
* the License at http://www.mozilla.org/NPL/
|
|
|
|
*
|
2001-02-09 14:39:07 +03:00
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
*
|
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
2001-02-09 14:39:07 +03:00
|
|
|
* The Initial Developer of the Original Code is Netscape
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
* Communications Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 2000 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
2001-02-09 14:39:07 +03:00
|
|
|
* Contributor(s):
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
* Vidur Apparao <vidur@netscape.com> (original author)
|
|
|
|
* Johnny Stenback <jst@netscape.com>
|
2001-02-09 14:39:07 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "nsIDOMNode.idl"
|
|
|
|
|
|
|
|
[scriptable, uuid(a6cf9072-15b3-11d2-932e-00805f8add32)]
|
|
|
|
interface nsIDOMCharacterData : nsIDOMNode
|
|
|
|
{
|
|
|
|
attribute DOMString data;
|
|
|
|
// raises(DOMException) on setting
|
|
|
|
// raises(DOMException) on retrieval
|
|
|
|
|
|
|
|
readonly attribute unsigned long length;
|
|
|
|
DOMString substringData(in unsigned long offset,
|
|
|
|
in unsigned long count)
|
|
|
|
raises(DOMException);
|
|
|
|
void appendData(in DOMString arg)
|
|
|
|
raises(DOMException);
|
|
|
|
void insertData(in unsigned long offset,
|
|
|
|
in DOMString arg)
|
|
|
|
raises(DOMException);
|
|
|
|
void deleteData(in unsigned long offset,
|
|
|
|
in unsigned long count)
|
|
|
|
raises(DOMException);
|
|
|
|
void replaceData(in unsigned long offset,
|
|
|
|
in unsigned long count,
|
|
|
|
in DOMString arg)
|
|
|
|
raises(DOMException);
|
|
|
|
};
|