NAME

Mozilla::DOM::CharacterData

Mozilla::DOM::CharacterData is a wrapper around an instance of Mozilla's nsIDOMCharacterData interface. This inherits from Mozilla::DOM::Node.

 * 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
 * L<http:E<sol>E<sol>www.w3.orgE<sol>TRE<sol>DOM-Level-2-CoreE<sol>>

CLASS METHODS

$iid = Mozilla::DOM::CharacterData->GetIID()

Pass this to QueryInterface.

METHODS

$characterdata->AppendData($data)

    • $data (string)

$characterdata->DeleteData($offset, $count)

    • $offset (integer (long))

    • $count (integer (long))

$data = $characterdata->GetData()

$len = $characterdata->GetLength()

$characterdata->InsertData($offset, $data)

    • $offset (integer (long))

    • $data (string)

$characterdata->ReplaceData($offset, $count, data)

    • $offset (integer (long))

    • $count (integer (long))

    • $data (string)

$characterdata->SetData($data)

    • $data (string)

$characterdata->SubstringData($offset, $count)

    • $offset (integer (long))

    • $count (integer (long))

SEE ALSO

Mozilla::DOM

COPYRIGHT

Copyright (C) 2005-2007, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.