public interface RockerModel
| Modifier and Type | Method and Description |
|---|---|
RockerOutput |
render()
Executes a template model and renders content to output.
|
<O extends RockerOutput> |
render(RockerOutputFactory<O> outputFactory)
Executes a template model and renders content to output.
|
<O extends RockerOutput> |
render(RockerOutputFactory<O> outputFactory,
RockerTemplateCustomizer templateCustomizer)
Executes a template model and renders content to output.
|
RockerOutput render() throws RenderingException
RenderingException - Thrown if any error encountered while rendering
template. Exception will include underlying cause as well as line
and position of original template source that triggered exception.<O extends RockerOutput> O render(RockerOutputFactory<O> outputFactory) throws RenderingException
O - The output typeoutputFactory - A factory to create a new RockerOutput. If null then
the a default defined by the template will be used instead.RenderingException - Thrown if any error encountered while rendering
template. Exception will include underlying cause as well as line
and position of original template source that triggered exception.<O extends RockerOutput> O render(RockerOutputFactory<O> outputFactory, RockerTemplateCustomizer templateCustomizer) throws RenderingException
O - The output typeoutputFactory - A factory to create a new RockerOutput. If null then
the a default defined by the template will be used instead.templateCustomizer - A customizer for last second changes to template
between the time its built and the time it actually is rendered.
Useful for injecting implicit variables in frameworks. If null
then no customization will be done.RenderingException - Thrown if any error encountered while rendering
template. Exception will include underlying cause as well as line
and position of original template source that triggered exception.Copyright © 2016–2020 Fizzed, Inc. All rights reserved.