Packageorg.apache.flex.net
Interfacepublic interface IItemConverter
Implementors JSONItemConverter

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The IItemConverter interface is the basic interface for converting a serialized data item to a data class instance. This interface is generally used in a LazyCollection.

See also

org.apache.flex.net.dataConverters.LazyCollection.


Public Methods
 MethodDefined By
  
convertItem(data:String):Object
Take the input string (could be serialized data set, XML, or JSON) and return a data class instance.
IItemConverter
Method Detail
convertItem()method
public function convertItem(data:String):Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Take the input string (could be serialized data set, XML, or JSON) and return a data class instance.

Parameters

data:String — Serialized data item, XML or JSON.

Returns
Object — An instance of a data class.