public class VelocityModelBody extends AbstractModelBody
| Constructor and Description |
|---|
VelocityModelBody(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.ASTBlock body,
Writer defaultWriter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(Writer writer)
Evaluates the body and writes the result in the writer.
|
evaluate, evaluateAsString, evaluateWithoutWritingpublic VelocityModelBody(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.ASTBlock body,
Writer defaultWriter)
context - The Velocity context.body - The real body.defaultWriter - The default writer.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.