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.
|
Modifier and Type | Method and Description |
---|---|
protected Splittable |
readSplittable(Object loadConfig,
JavaScriptObject data)
Implemented by subclasses to provide a
Splittable based on the
incoming data. |
createReturnData, read
protected Splittable readSplittable(Object loadConfig, JavaScriptObject data)
AbstractAutoBeanReader
Splittable
based on the
incoming data.readSplittable
in class AbstractAutoBeanReader<M,Base,JavaScriptObject>
loadConfig
- the load configdata
- the data to readCopyright © 2018. All rights reserved.