public class FreeMarkerBeanWriter extends Object implements BeanWriter
| Modifier and Type | Field and Description |
|---|---|
static String |
MODEL_CTX_KEY |
| Constructor and Description |
|---|
FreeMarkerBeanWriter() |
public static final String MODEL_CTX_KEY
@Initialize public void intialize()
public void write(Object bean, Writer writer, Model model) throws BeanRegistrationException, IOException
BeanWriterwrite in interface BeanWriterbean - The bean instance.writer - The target writer.model - The Model instance that "owns" the bean.BeanRegistrationException - Unknown bean instance.IOException - Error writing bean to writer.Copyright © 2013. All rights reserved.