org.apache.turbine.modules.layouts
Class VelocityDirectLayout

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Layout
          extended byorg.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 534527 2007-05-02 16:10:59Z tv $
Author:
Raphaël Luta, John D. McNally, Dave Bryson, Henning P. Schmiedehausen

Constructor Summary
VelocityDirectLayout()
           
 
Method Summary
 void doBuild(RunData data)
          Method called by LayoutLoader.
 
Methods inherited from class org.apache.turbine.modules.Layout
build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityDirectLayout

public VelocityDirectLayout()
Method Detail

doBuild

public void doBuild(RunData data)
             throws java.lang.Exception
Method called by LayoutLoader.

Specified by:
doBuild in class Layout
Parameters:
data - Turbine information.
Throws:
java.lang.Exception - a generic exception.


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