API for locating and rendering templates in the code generation layer
| Type | Name and description |
|---|---|
void |
render(java.util.Map<java.lang.String, java.lang.Object> namedArguments)Render with the given named arguments |
void |
render(java.lang.CharSequence template, java.io.File destination, grails.codegen.model.Model model)Render the given template to the give destination for the given model |
void |
render(java.lang.CharSequence template, java.io.File destination)Render the given template to the given destination |
void |
render(java.lang.CharSequence template, java.io.File destination, java.util.Map model)Render the given template to the given destination |
void |
render(java.lang.CharSequence template, java.io.File destination, java.util.Map model, boolean overwrite)Render the given template to the given destination |
void |
render(java.io.File template, java.io.File destination, grails.codegen.model.Model model)Render the given template to the give destination for the given model |
void |
render(java.io.File template, java.io.File destination)Render the given template to the given destination |
void |
render(java.io.File template, java.io.File destination, java.util.Map model)Render the given template to the given destination |
void |
render(java.io.File template, java.io.File destination, java.util.Map model, boolean overwrite)Render the given template to the given destination |
void |
render(org.grails.io.support.Resource template, java.io.File destination, grails.codegen.model.Model model)Render the given template to the give destination for the given model |
void |
render(org.grails.io.support.Resource template, java.io.File destination, grails.codegen.model.Model model, boolean overwrite)Render the given template to the give destination for the given model |
void |
render(org.grails.io.support.Resource template, java.io.File destination)Render the given template to the given destination |
void |
render(org.grails.io.support.Resource template, java.io.File destination, java.util.Map model)Render the given template to the given destination |
void |
render(org.grails.io.support.Resource template, java.io.File destination, java.util.Map model, boolean overwrite)Render the given template to the given destination |
org.grails.io.support.Resource |
template(java.lang.Object location)Find a template at the given location |
java.lang.Iterable<org.grails.io.support.Resource> |
templates(java.lang.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 locationFind templates matching the given pattern
pattern - The pattern