interface TemplateRenderer
API for locating and rendering templates in the code generation layer
Type Params | Return Type | Name and description |
---|---|---|
|
abstract void |
render(Map<String, Object> namedArguments) Render with the given named arguments |
|
abstract void |
render(CharSequence template, File destination, Model model) Render the given template to the give destination for the given model |
|
abstract void |
render(CharSequence template, File destination) Render the given template to the given destination |
|
abstract void |
render(CharSequence template, File destination, Map model) Render the given template to the given destination |
|
abstract void |
render(CharSequence template, File destination, Map model, boolean overwrite) Render the given template to the given destination |
|
abstract void |
render(File template, File destination, Model model) Render the given template to the give destination for the given model |
|
abstract void |
render(File template, File destination) Render the given template to the given destination |
|
abstract void |
render(File template, File destination, Map model) Render the given template to the given destination |
|
abstract void |
render(File template, File destination, Map model, boolean overwrite) Render the given template to the given destination |
|
abstract void |
render(Resource template, File destination, Model model) Render the given template to the give destination for the given model |
|
abstract void |
render(Resource template, File destination, Model model, boolean overwrite) Render the given template to the give destination for the given model |
|
abstract void |
render(Resource template, File destination) Render the given template to the given destination |
|
abstract void |
render(Resource template, File destination, Map model) Render the given template to the given destination |
|
abstract void |
render(Resource template, File destination, Map model, boolean overwrite) Render the given template to the given destination |
|
abstract Resource |
template(Object location) Find a template at the given location |
|
abstract Iterable<Resource> |
templates(String pattern) Find templates matching the given pattern |
Render with the given named arguments
namedArguments
- The named arguments are 'template', 'destination' and 'model'Render the given template to the give destination for the given model
template
- The contents templatedestination
- The destinationmodel
- The modelRender the given template to the given destination
template
- The contents of the templatedestination
- The destinationmodel
- The modelRender the given template to the given destination
template
- The contents of the templatedestination
- The destinationmodel
- The modelRender the given template to the given destination
template
- The contents of the templatedestination
- The destinationmodel
- The modelRender the given template to the give destination for the given model
template
- The templatedestination
- The destinationmodel
- The modelRender the given template to the given destination
template
- The templatedestination
- The destinationmodel
- The modelRender the given template to the given destination
template
- The templatedestination
- The destinationmodel
- The modelRender the given template to the given destination
template
- The templatedestination
- The destinationmodel
- The modelRender the given template to the give destination for the given model
template
- The contents templatedestination
- The destinationmodel
- The modelRender the given template to the give destination for the given model
template
- The contents templatedestination
- The destinationmodel
- The modelRender the given template to the given destination
template
- The templatedestination
- The destinationmodel
- The modelRender the given template to the given destination
template
- The templatedestination
- The destinationmodel
- The modelRender the given template to the given destination
template
- The templatedestination
- The destinationmodel
- The modelFind a template at the given location
location
- The location