com.sencha.gxt.data.client.loader
Class JsoReader<M,Base>

java.lang.Object
  extended by com.sencha.gxt.data.shared.loader.AbstractAutoBeanReader<M,Base,JavaScriptObject>
      extended by com.sencha.gxt.data.client.loader.JsoReader<M,Base>
Type Parameters:
M - Expected model type by the Loader that uses this DataReader
Base - Intermediate type before getting to M, allowing AbstractAutoBeanReader.createReturnData(Object, Object) to further modify the data
All Implemented Interfaces:
DataReader<M,JavaScriptObject>

public class JsoReader<M,Base>
extends AbstractAutoBeanReader<M,Base,JavaScriptObject>

Simple DataReader implementation to turn JSOs into AutoBeans automatically.


Constructor Summary
JsoReader(AutoBeanFactory factory, java.lang.Class<Base> rootBeanType)
          Creates a new JSO reader that can turn a JSO into an AutoBean.
 
Method Summary
 
Methods inherited from class com.sencha.gxt.data.shared.loader.AbstractAutoBeanReader
read
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsoReader

public JsoReader(AutoBeanFactory factory,
                 java.lang.Class<Base> rootBeanType)
Creates a new JSO reader that can turn a JSO into an AutoBean.

Parameters:
factory - an auto bean factory capable of encoding objects of type M
rootBeanType - AutoBean based type to represent the base data


Copyright © 2012. All Rights Reserved.