Class VelocityDirectLayout
- java.lang.Object
-
- org.apache.turbine.modules.layouts.VelocityLayout
-
- org.apache.turbine.modules.layouts.VelocityDirectLayout
-
- Direct Known Subclasses:
VelocityCachedLayout
public class VelocityDirectLayout extends VelocityLayout
This Layout module allows Velocity templates to be used as layouts. It will stream directly the output of the layout and navigation templates to the output writer without using a screen. Use this if you have a large page to output and won't buffer it in the memory.- Version:
- $Id$
- Author:
- Raphaƫl Luta, John D. McNally, Dave Bryson, Henning P. Schmiedehausen, Peter Courcoux
-
-
Field Summary
-
Fields inherited from class org.apache.turbine.modules.layouts.VelocityLayout
log, prefix, velocityService
-
Fields inherited from interface org.apache.turbine.modules.Layout
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
-
-
Constructor Summary
Constructors Constructor Description VelocityDirectLayout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
populateContext(PipelineData pipelineData, org.apache.velocity.context.Context context)
Populate Velocity context-
Methods inherited from class org.apache.turbine.modules.layouts.VelocityLayout
doBuild, render
-
-
-
-
Constructor Detail
-
VelocityDirectLayout
public VelocityDirectLayout()
-
-
Method Detail
-
populateContext
protected void populateContext(PipelineData pipelineData, org.apache.velocity.context.Context context) throws Exception
Description copied from class:VelocityLayout
Populate Velocity context- Specified by:
populateContext
in classVelocityLayout
- Parameters:
pipelineData
- PipelineDatacontext
- the Velocity context- Throws:
Exception
- if evaluation fails- See Also:
VelocityLayout.populateContext(org.apache.turbine.pipeline.PipelineData, org.apache.velocity.context.Context)
-
-