Class VelocityDirectScreen
- java.lang.Object
-
- org.apache.turbine.modules.screens.TemplateScreen
-
- org.apache.turbine.modules.screens.VelocityScreen
-
- org.apache.turbine.modules.screens.VelocityDirectScreen
-
public class VelocityDirectScreen extends VelocityScreen
VelocityDirectScreen is a screen class which returns its output directly to the output stream. It can be used if buffering an output screen isn't possible or the result doesn't fit in the memory.- Version:
- $Id$
- Author:
- Dave Bryson, Henning P. Schmiedehausen, Peter Courcoux
-
-
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 VelocityDirectScreen()
-
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
-
VelocityDirectScreen
public VelocityDirectScreen()
-
-
Method Detail
-
buildTemplate
public String buildTemplate(PipelineData pipelineData) throws Exception
This builds the Velocity template.- Overrides:
buildTemplate
in classVelocityScreen
- Parameters:
pipelineData
- Turbine information.- Returns:
- the content of the screen
- Throws:
Exception
- a generic exception.
-
-