Skip to content

Implement interface CharacterData #25

@hepheir

Description

@hepheir

https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-FF21A306

Interface CharacterData

IDL Definition

More
interface CharacterData : Node {
           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);
};

Attributes

  • attribute DOMString data
  • readonly attribute unsigned long length

Methods

  • // raises(DOMException) on setting
  • // raises(DOMException) on retrieval
  • DOMString substringData(in unsigned long offset, in unsigned long count)
  • void appendData(in DOMString arg)
  • void insertData(in unsigned long offset, in DOMString arg)
  • void deleteData(in unsigned long offset, in unsigned long count)
  • in unsigned long count, in DOMString arg)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions