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, naviagtions and templates to the output writer.

Author:
Raphaël Luta, John D. McNally, Dave Brysonmbryson@mont.mindspring.com

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, registerNatives, 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.
Overrides:
doBuild in class Layout
Parameters:
RunData -  
Returns:
processed template in a String


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