public class FreemarkerModelBody extends AbstractModelBody
| Constructor and Description | 
|---|
| FreemarkerModelBody(Writer defaultWriter,
                   freemarker.template.TemplateDirectiveBody templateDirectiveBody)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | evaluate(Writer writer)Evaluates the body and writes the result in the writer. | 
evaluate, evaluateAsString, evaluateWithoutWritingpublic FreemarkerModelBody(Writer defaultWriter, freemarker.template.TemplateDirectiveBody templateDirectiveBody)
defaultWriter - The default writer.templateDirectiveBody - The real body.public void evaluate(Writer writer) throws IOException
ModelBodywriter - The writer to write the result into.IOException - If something goes wrong.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.