nsIDOMCharacterData

IID:a6cf9072-15b3-11d2-932e-00805f8add32
Inherits From:nsIDOMNode

Properties

DOMString data

The nsIDOMCharacterData interface extends nsIDOMNode with a set of attributes and methods for accessing character data in the DOM.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Core/

readonly PRUint32 length


Methods

void appendData ( DOMString arg ) void deleteData ( PRUint32 offset , PRUint32 count ) void insertData ( PRUint32 offset , DOMString arg ) void replaceData ( PRUint32 offset , PRUint32 count , DOMString arg ) DOMString substringData ( PRUint32 offset , PRUint32 count )

void appendData ( DOMString arg )

Arguments:
arg

void deleteData ( PRUint32 offset , PRUint32 count )

Arguments:
offset
count

void insertData ( PRUint32 offset , DOMString arg )

Arguments:
offset
arg

void replaceData ( PRUint32 offset , PRUint32 count , DOMString arg )

Arguments:
offset
count
arg

DOMString substringData ( PRUint32 offset , PRUint32 count )

Arguments:
offset
count

References

This interface is passed as an argument to the following methods:

inIDOMUtils.isIgnorableWhitespace, nsIEditActionListener.DidDeleteText, nsIEditActionListener.DidInsertText, nsIEditActionListener.WillDeleteText, nsIEditActionListener.WillInsertText

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com