User Guide
WddxRecordset object 1095
write
Description
Appends data to a serialized data stream.
Syntax
object.write( str )
Parameters
Return value
Returns an updated serialized data stream as a String.
Usage
This is an internal function; you do not typically call it.
Example
This example is from the WddxSerializer serializeValue function:
...
else if (typeof(obj) == "number")
{
// Number value
this.write("<number>" + obj + "</number>");
}
else if (typeof(obj) == "boolean")
{
// Boolean value
this.write("<boolean value='" + obj + "'/>");
}
...
WddxRecordset object
Includes functions that you call as needed when constructing a WDDX record set. For more
information on using this object, see “Using WDDX” in Chapter 35, “Using XML and WDDX”
in ColdFusion MX Developer’s Guide.
Functions
:
Parameter Description
object Instance name of the WddxSerializer object
str String to be copied to the serialized data stream
Function syntax Description
object.addColumn(name) Adds a column to all rows in a WddxRecordset instance.
object.addRows(n) Adds rows to all columns in a WddxRecordset instance.
object.dump(escapeStrings)
Displays WddxRecordset object data.