Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
IItemConverter

Package | org.apache.flex.collections.converters
Interface | public 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

| Method | Defined 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.

Mon Sep 5 2016, 07:19 AM -07:00