com.sencha.gxt.data.shared.loader
Interface DataReader<M,D>
- Type Parameters:
M - the return data typeD - the incoming data type to be read
- All Known Implementing Classes:
- AbstractAutoBeanReader, JsonReader, JsoReader, ListReader, XmlReader
public interface DataReader<M,D>
Interface for objects that translate raw data into a given type. For example,
an XML string being returned from the server could be used to create model
instances.
|
Method Summary |
M |
read(java.lang.Object loadConfig,
D data)
Reads the raw data and returns the typed data. |
read
M read(java.lang.Object loadConfig,
D data)
- Reads the raw data and returns the typed data.
- Parameters:
loadConfig - the load config informationdata - the data to read
- Returns:
- the processed and / or converted data
Copyright © 2012. All Rights Reserved.