Represents Document Object Model (DOM) “Character Data”.
Inherits :
Inherited By : DzDomComment and DzDomText
DAZ Script | |
---|---|
void | appendData ( String arg ) |
void | deleteData ( Number offset, Number count ) |
void | insertData ( Number offset, String arg ) |
void | replaceData ( Number offset, Number count, String arg ) |
String | substringData ( Number offset, Number count ) |
A script wrapper for QDomCharacterData. This object represents a generic data string in a DOM document. Specialized versions of this object are DzDomText, DzDomComment and DzDomCDATASection.
Instances of this object are not constructed directly, rather instances of the specialized versions of this object are returned by calling DzDomDocument::createTextNode(), DzDomDocument::createComment() or DzDomDocument::createCDATASection().
Holds the text data for this node.
Holds the length of the data for this node. (Read Only)
void : appendData( String arg )
Appends data to the end of the current character data for this node.
Parameter(s):
void : deleteData( Number offset, Number count )
Removes a specified range of character data from this node.
Parameter(s):
offset
to delete.void : insertData( Number offset, String arg )
Inserts data into this node at a specified position.
Parameter(s):
arg
at.void : replaceData( Number offset, Number count, String arg )
Replaces a specified range of character data in this node.
Parameter(s):
offset
to replace.String : substringData( Number offset, Number count )
Parameter(s):
offset
to include in the substring.Return Value: