org.milyn.javabean.dynamic.serialize.freemarker
Class FreeMarkerBeanWriter
java.lang.Object
org.milyn.javabean.dynamic.serialize.freemarker.FreeMarkerBeanWriter
- All Implemented Interfaces:
- BeanWriter
public class FreeMarkerBeanWriter
- extends Object
- implements BeanWriter
FreeMarker bean writer.
- Author:
- tom.fennelly@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODEL_CTX_KEY
public static final String MODEL_CTX_KEY
- See Also:
- Constant Field Values
FreeMarkerBeanWriter
public FreeMarkerBeanWriter()
intialize
@Initialize
public void intialize()
write
public void write(Object bean,
Writer writer,
Model model)
throws BeanRegistrationException,
IOException
- Description copied from interface:
BeanWriter
- Write the specified bean to the supplied writer.
- Specified by:
write in interface BeanWriter
- Parameters:
bean - The bean instance.writer - The target writer.model - The Model instance that "owns" the bean.
- Throws:
BeanRegistrationException - Unknown bean instance.
IOException - Error writing bean to writer.
Copyright © 2018. All rights reserved.