com.extjs.gxt.ui.client.data
Interface DataReader<D>

Type Parameters:
D - the data type being returned by the reader
All Known Implementing Classes:
BeanModelReader, JsonLoadResultReader, JsonPagingLoadResultReader, JsonReader, ModelReader, TreeBeanModelReader, TreeModelReader, XmlLoadResultReader, XmlPagingLoadResultReader, XmlReader

public interface DataReader<D>

Interface for objects that translate raw data into a given type.


Method Summary
 D read(java.lang.Object loadConfig, java.lang.Object data)
          Reads the raw data and returns the typed data.
 

Method Detail

read

D read(java.lang.Object loadConfig,
       java.lang.Object data)
Reads the raw data and returns the typed data.

Parameters:
data - the data to read
Returns:
the data