dom/interfaces/core/nsIDOMCharacterData.idl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #include "nsIDOMNode.idl"
     8 /**
     9  * The nsIDOMCharacterData interface extends nsIDOMNode with a set of 
    10  * attributes and methods for accessing character data in the DOM.
    11  * 
    12  * For more information on this interface please see 
    13  * http://www.w3.org/TR/DOM-Level-2-Core/
    14  */
    16 [scriptable, uuid(84f72a38-1873-46f8-937c-1df22d7e7cae)]
    17 interface nsIDOMCharacterData : nsIDOMNode
    18 {
    19            attribute DOMString            data;
    20                                   // raises(DOMException) on setting
    21                                   // raises(DOMException) on retrieval
    23   readonly attribute unsigned long        length;
    24   DOMString                 substringData(in unsigned long offset, 
    25                                           in unsigned long count)
    26                                   raises(DOMException);
    27   void                      appendData(in DOMString arg)
    28                                   raises(DOMException);
    29   void                      insertData(in unsigned long offset, 
    30                                        in DOMString arg)
    31                                   raises(DOMException);
    32   void                      deleteData(in unsigned long offset, 
    33                                        in unsigned long count)
    34                                   raises(DOMException);
    35   void                      replaceData(in unsigned long offset, 
    36                                         in unsigned long count, 
    37                                         in DOMString arg)
    38                                   raises(DOMException);
    40   [binaryname(MozRemove)]
    41   void remove();
    42 };

mercurial