com.sencha.gxt.data.shared.loader
Class AbstractAutoBeanReader<M,B,D>
java.lang.Object
com.sencha.gxt.data.shared.loader.AbstractAutoBeanReader<M,B,D>
- Type Parameters:
M - Expected model type by the Loader that uses this
DataReaderB - Intermediate type before getting to M, allowing
createReturnData(Object, Object) to further modify the dataD - Incoming data type from the DataProxy
- All Implemented Interfaces:
- DataReader<M,D>
- Direct Known Subclasses:
- JsonReader, JsoReader, XmlReader
public abstract class AbstractAutoBeanReader<M,B,D>
- extends java.lang.Object
- implements DataReader<M,D>
Abstract base class for Readers that turn the incoming data into
AutoBeans.
|
Method Summary |
M |
read(java.lang.Object loadConfig,
D data)
Reads the raw data and returns the typed data. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAutoBeanReader
public AbstractAutoBeanReader(AutoBeanFactory factory,
java.lang.Class<B> rootBeanType)
- Creates a new loader.
- Parameters:
factory - AutoBeanFactory instance capable of building all of the
required classesrootBeanType - AutoBean based type to represent the base data in the
Splittable
read
public M read(java.lang.Object loadConfig,
D data)
- Description copied from interface:
DataReader
- Reads the raw data and returns the typed data.
- Specified by:
read in interface DataReader<M,D>
- Parameters:
loadConfig - the load config informationdata - the data to read
- Returns:
- the processed and / or converted data
Copyright © 2012. All Rights Reserved.