org.apache.turbine.modules.screens
Class VelocityDirectScreen

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Screen
          extended byorg.apache.turbine.modules.screens.TemplateScreen
              extended byorg.apache.turbine.modules.screens.VelocityScreen
                  extended byorg.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: VelocityDirectScreen.java 264148 2005-08-29 14:21:04Z henning $
Author:
Dave Bryson, Henning P. Schmiedehausen

Field Summary
 
Fields inherited from class org.apache.turbine.modules.screens.TemplateScreen
log
 
Constructor Summary
VelocityDirectScreen()
           
 
Method Summary
 org.apache.ecs.ConcreteElement buildTemplate(RunData data)
          This builds the Velocity template.
 
Methods inherited from class org.apache.turbine.modules.screens.VelocityScreen
doBuildTemplate, doBuildTemplate, getContext
 
Methods inherited from class org.apache.turbine.modules.screens.TemplateScreen
doBuild, doPostBuildTemplate, doRedirect, doRedirect, setTemplate
 
Methods inherited from class org.apache.turbine.modules.Screen
build, getLayout, prepareText, prepareTextMinimum, setLayout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityDirectScreen

public VelocityDirectScreen()
Method Detail

buildTemplate

public org.apache.ecs.ConcreteElement buildTemplate(RunData data)
                                             throws java.lang.Exception
This builds the Velocity template.

Overrides:
buildTemplate in class VelocityScreen
Parameters:
data - Turbine information.
Returns:
A ConcreteElement.
Throws:
Exception, - a generic exception.
java.lang.Exception


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.