Class VelocityCachedScreen
- java.lang.Object
-
- org.apache.turbine.modules.screens.TemplateScreen
-
- org.apache.turbine.modules.screens.VelocityScreen
-
- org.apache.turbine.modules.screens.VelocityCachedScreen
-
public class VelocityCachedScreen extends VelocityScreen
VelocityCachedScreen is Turbine 2.3.3 VelocityDirectScreen (same package) with methods added forPipelineData
. It is is a screen class which buffers its output before flushing the output stream. It is used in Jetspeed-1 portal.- Version:
- $Id$
- Author:
- Dave Bryson, Henning P. Schmiedehausen
-
-
Field Summary
-
Fields inherited from class org.apache.turbine.modules.screens.VelocityScreen
prefix, templateError, templateService, velocity
-
Fields inherited from class org.apache.turbine.modules.screens.TemplateScreen
log
-
Fields inherited from interface org.apache.turbine.modules.Screen
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
-
-
Constructor Summary
Constructors Constructor Description VelocityCachedScreen()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
buildTemplate(PipelineData pipelineData)
This builds the Velocity template.-
Methods inherited from class org.apache.turbine.modules.screens.VelocityScreen
doBuildTemplate, doBuildTemplate
-
Methods inherited from class org.apache.turbine.modules.screens.TemplateScreen
doBuild, doPostBuildTemplate, doRedirect, doRedirect, setTemplate
-
-
-
-
Constructor Detail
-
VelocityCachedScreen
public VelocityCachedScreen()
-
-
Method Detail
-
buildTemplate
public String buildTemplate(PipelineData pipelineData) throws Exception
This builds the Velocity template.- Overrides:
buildTemplate
in classVelocityScreen
- Parameters:
pipelineData
- Turbine information.- Returns:
- A ConcreteElement.
- Throws:
Exception
- a generic exception.
-
-