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 datapublic class JsoReader<M,Base> extends AbstractAutoBeanReader<M,Base,JavaScriptObject>
DataReader
implementation to turn JSOs into AutoBeans
automatically.Constructor and Description |
---|
JsoReader(AutoBeanFactory factory,
Class<Base> rootBeanType)
Creates a new JSO reader that can turn a JSO into an AutoBean.
|
public JsoReader(AutoBeanFactory factory, Class<Base> rootBeanType)
factory
- an auto bean factory capable of encoding objects of type MrootBeanType
- AutoBean based type to represent the base dataCopyright © 2015. All rights reserved.