org.apache.tiles.request.velocity.autotag
Class VelocityModelBody
java.lang.Object
org.apache.tiles.autotag.core.runtime.AbstractModelBody
org.apache.tiles.request.velocity.autotag.VelocityModelBody
- All Implemented Interfaces:
- org.apache.tiles.autotag.core.runtime.ModelBody
public class VelocityModelBody
- extends org.apache.tiles.autotag.core.runtime.AbstractModelBody
Body abstraction for a Velocity directive body.
- Version:
- $Rev: 1305546 $ $Date: 2012-03-26 16:34:37 -0400 (Mon, 26 Mar 2012) $
Constructor Summary |
VelocityModelBody(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.ASTBlock body,
Writer defaultWriter)
Constructor. |
Methods inherited from class org.apache.tiles.autotag.core.runtime.AbstractModelBody |
evaluate, evaluateAsString, evaluateWithoutWriting |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityModelBody
public VelocityModelBody(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.ASTBlock body,
Writer defaultWriter)
- Constructor.
- Parameters:
context
- The Velocity context.body
- The real body.defaultWriter
- The default writer.
evaluate
public void evaluate(Writer writer)
throws IOException
- Throws:
IOException
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.