Packageorg.restfulx.utils
Classpublic class TypedArray
Implementsflash.utils.IExternalizable

An array of items where we know what type of models it contains.



Public Properties
 PropertyDefined by
  itemType : String
Fully Qualified Name (fqn) of the class instances that this array contains.
TypedArray
  metadata : Object
Any metadata that may have been passed on from the server
TypedArray
  source : Array
Array elements of the type specified by itemType
TypedArray
Public Methods
 MethodDefined by
  
TypedArray(items:Array = null)
TypedArray
  
readExternal(input:IDataInput):void
Ensures that only the source property is serialized.
TypedArray
  
writeExternal(output:IDataOutput):void
Ensures that only the source property is serialized.
TypedArray
Property detail
itemTypeproperty
public var itemType:String

Fully Qualified Name (fqn) of the class instances that this array contains.

This property can be used as the source for data binding.

metadataproperty 
public var metadata:Object

Any metadata that may have been passed on from the server

This property can be used as the source for data binding.

sourceproperty 
public var source:Array

Array elements of the type specified by itemType

This property can be used as the source for data binding.

Constructor detail
TypedArray()constructor
public function TypedArray(items:Array = null)Parameters
items:Array (default = null)
Method detail
readExternal()method
public function readExternal(input:IDataInput):void

Ensures that only the source property is serialized.

Parameters
input:IDataInput
writeExternal()method 
public function writeExternal(output:IDataOutput):void

Ensures that only the source property is serialized.

Parameters
output:IDataOutput