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 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 1706239 2015-10-01 13:18:35Z tv $
  Author:
    Raphaël Luta, John D. McNally, Dave Bryson, Henning P. Schmiedehausen, Peter Courcoux

- - ### Field Summary

    - ### Fields inherited from class org.apache.turbine.modules.Layout

      `CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `VelocityDirectLayout()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `doBuild(PipelineData pipelineData)` Method called by LayoutLoader.

    - ### Methods inherited from class org.apache.turbine.modules.Layout

      `build, getPrefix`

    - ### Methods inherited from class org.apache.turbine.modules.Assembler

      `getRunData`

    - ### 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(PipelineData pipelineData)
                       throws Exception

      Method called by LayoutLoader.
      Specified by:
        `doBuild` in class `Layout`
      Parameters:
        `pipelineData` - PipelineData
      Throws:
        `Exception` - generic exception

Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.