org.apache.turbine.modules.layouts
Class VelocityDirectLayout
java.lang.Object
org.apache.turbine.modules.Assembler
org.apache.turbine.modules.Layout
org.apache.turbine.modules.layouts.VelocityDirectLayout
public class VelocityDirectLayout
- extends Layout
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: VelocityDirectLayout.java 1071044 2011-02-15 20:47:31Z tv $
- Author:
- Raphaƫl Luta, John D. McNally, Dave Bryson, Henning P. Schmiedehausen, Peter Courcoux
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityDirectLayout
public VelocityDirectLayout()
doBuild
@Deprecated
public void doBuild(RunData data)
throws Exception
- Deprecated. Use the PipelineData version instead
- Method called by LayoutLoader.
- Specified by:
doBuild
in class Layout
- Parameters:
data
- Turbine information.
- Throws:
Exception
- a generic exception.
doBuild
public void doBuild(PipelineData pipelineData)
throws Exception
- Method called by LayoutLoader.
- Overrides:
doBuild
in class Layout
- Parameters:
data
- PipelineData
- Throws:
Exception
- generic exception
Copyright © 2000-2011 The Apache Software Foundation. All Rights Reserved.