
public class ModelIncludeDirective extends Object implements freemarker.template.TemplateDirectiveModel
TemplateDirectiveModel which allows to recursively write a graph of
Writables, with each element using its own template. Elements are
imported into the parent template by using this directive like so:
<@includeModel object=myProperty/>.| Constructor and Description |
|---|
ModelIncludeDirective(freemarker.template.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(freemarker.core.Environment env,
Map params,
freemarker.template.TemplateModel[] loopVars,
freemarker.template.TemplateDirectiveBody body) |
public ModelIncludeDirective(freemarker.template.Configuration configuration)
public void execute(freemarker.core.Environment env,
Map params,
freemarker.template.TemplateModel[] loopVars,
freemarker.template.TemplateDirectiveBody body)
throws freemarker.template.TemplateException,
IOException
execute in interface freemarker.template.TemplateDirectiveModelfreemarker.template.TemplateExceptionIOExceptionCopyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.