M
- the starting data format for the model to be inputedD
- the data format to be used, usually to send the initial data over
the wirepublic abstract class AutoBeanWriter<M,D> extends Object implements DataWriter<M,D>
Constructor and Description |
---|
AutoBeanWriter(AutoBeanFactory factory,
Class<M> clazz)
Creates a new auto bean writer.
|
Modifier and Type | Method and Description |
---|---|
protected <any> |
getAutoBean(M model)
Helper method to attempt to turn a model into an autobean.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
protected <any> getAutoBean(M model)
model
- the target modelCopyright © 2018. All rights reserved.