|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.data.JsonReader<D>
D - the ListLoadResult type being returned by the readerpublic class JsonReader<D>
A DataReader implementation that reads JSON data using a
ModelType definition and produces a set of
ModelData instances.
createReturnData(Object, List, int) to
control what object is returned by the reader. Subclass may override
newModelInstance() to return any model data subclass.
| Constructor Summary | |
|---|---|
JsonReader(ModelType modelType)
Creates a new JSON reader. |
|
| Method Summary | |
|---|---|
D |
read(java.lang.Object loadConfig,
java.lang.Object 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 |
| Constructor Detail |
|---|
public JsonReader(ModelType modelType)
modelType - the model type definition| Method Detail |
|---|
public D read(java.lang.Object loadConfig,
java.lang.Object data)
DataReader
read in interface DataReader<D>data - the data to read
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||