Modifier and Type | Method and Description |
---|---|
BeanWriter |
Model.getBeanWriter(Object bean)
Get the
BeanWriter instance for the specified bean, if one exists. |
BeanMetadata |
Model.registerBean(Object beanInstance)
Register the specified bean instance.
|
static void |
BeanRegistrationException.throwBeanInstanceAlreadyRegisteredException(Object bean)
Throw a
BeanRegistrationException exception for the specified bean instance that
is already registered. |
static void |
BeanRegistrationException.throwBeanNotAnnotatedWithDefaultNamespace(Object bean)
Throw a
BeanRegistrationException exception for a bean that is not annotated with the
DefaultNamespace annotation. |
static void |
BeanRegistrationException.throwUnregisteredBeanInstanceException(Object bean)
Throw a
BeanRegistrationException exception for the specified "unregistered" bean instance. |
void |
Model.writeModel(Writer writer)
Write the bean model to the specified
Writer instance. |
Modifier and Type | Method and Description |
---|---|
void |
BeanWriter.write(Object bean,
Writer writer,
Model model)
Write the specified bean to the supplied writer.
|
Modifier and Type | Method and Description |
---|---|
void |
FreeMarkerBeanWriter.write(Object bean,
Writer writer,
Model model) |
Copyright © 2024. All rights reserved.