public interface BeanWriter
Modifier and Type | Method and Description |
---|---|
void |
write(Object bean,
Writer writer,
Model model)
Write the specified bean to the supplied writer.
|
void write(Object bean, Writer writer, Model model) throws BeanRegistrationException, IOException
bean
- 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 © 2024. All rights reserved.