DAZ Script |
---|
DzDomCharacterData () |
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 ) |
Represents a character data node in a DOM document.
Default constructor. Typically, you will not construct these directly, but will call DzDomDocument::createText() or DzDomDocument::createCDATASection() to create a new character data node as a member of a document.
void : appendData( String arg )
Appends arg
to the end of the current text for this node.
void : deleteData( Number offset, Number count )
Removes count
characters from this node's data beginning at offset
.
void : insertData( Number offset, String arg )
Inserts arg
into the current text for this node at position offset
.
void : replaceData( Number offset, Number count, String arg )
Replaces count
characters in this node's data beginning at offset
with the string arg
String : substringData( Number offset, Number count )
Return Value:
offset
, and count
characters long