User Guide

84 Chapter 3: Cross-Product Extensions
date dictionary
<dict>
<int key="year"
value="2002" />
<int key="month"
value="9" />
<int key="day"
value="3" />
<int key="hour"
value="20" />
<int key="minutes"
value="15" />
<int key="seconds"
value="32" />
</dict>
A date is a dictionary with the
following subelement keys: year,
month, day, hour, minutes, and
seconds. All six elements are
integer data types.
dictionary dictionary
<dict></dict>
Types map identically.
float float
<double value="5.132" />
Types map identically.
integer integer
<int value="7" />
Types map identically.
matrix dictionary
<dict>
<array key="matrix">
<double value="1.0" />
<double value="0.0" />
<double value="0.0" />
<double value="0.0" />
<double value="1.0" />
<double value="0.0" />
<double value="0.0" />
<double value="0.0" />
<double value="1.0" />
</array>
</dict>
A matrix is a dictionary that
contains one subelement key:
matrix. A matrix is an array of nine
float elements. The elements start
at the top row and go in row-major
order.
null null
<null />
Types map identically.
object server object, or
dictionary
<obj value="1" />
For an object type, the client can
simply specify a server object.
However, for certain objects (such
as objects of the
Effect class) a
dictionary can be constructed and
then used. If the client creates a
dictionary, all properties of the
class must be added to the
dictionary with the correct type.
point dictionary
<dict>
<double key="x"
value="300.4" />
<double key="y"
value="234.0" />
</dict>
A point is a dictionary with two
subelement keys:
x and y. Both
subelements are float data types.
rect dictionary
<dict>
<double key="top"
value="300.4" />
<double key="left"
value="234.0" />
<double key="bottom"
value="500.6" />
<double key="right"
value="564.0" />
</dict>
A rect is a dictionary with four
subelement keys:
top, left,
bottom, and right. All four
subelements are float data types.
DOM data type RPC data type Example Description