org.apache.turbine.modules.screens

## Class LegacyVelocityScreen

- java.lang.Object
- - org.apache.turbine.modules.Assembler
  - - org.apache.turbine.modules.Screen
    - - org.apache.turbine.modules.screens.TemplateScreen
      - - org.apache.turbine.modules.screens.VelocityScreen
        - - org.apache.turbine.modules.screens.LegacyVelocityScreen

- Direct Known Subclasses:
    LegacyVelocitySecureScreen

  Deprecated.
  Use VelocityScreen directly

      @Deprecated
      public class LegacyVelocityScreen
      extends VelocityScreen

  Support Turbine 2 screens
  Author:
    Thomas Vandahl

- - ### Field Summary

    - ### Fields inherited from class org.apache.turbine.modules.screens.VelocityScreen

      `conf, templateService, velocity`

    - ### Fields inherited from class org.apache.turbine.modules.screens.TemplateScreen

      `log`

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

      `CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LegacyVelocityScreen()` Deprecated.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context)` Deprecated. Adapter method
    `protected void` | `doBuildTemplate(RunData data, org.apache.velocity.context.Context context)` Deprecated. Velocity Screens extending this class should override this method to perform any particular business logic and add information to the context.

    - ### Methods inherited from class org.apache.turbine.modules.screens.VelocityScreen

      `buildTemplate, doBuildTemplate`

    - ### 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, getPrefix, setLayout`

    - ### 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

    - #### LegacyVelocityScreen

          public LegacyVelocityScreen()

      Deprecated.

  - ### Method Detail

    - #### doBuildTemplate

          protected void doBuildTemplate(RunData data,
                             org.apache.velocity.context.Context context)
                                  throws Exception

      Deprecated.
      Velocity Screens extending this class should override this method to perform any particular business logic and add information to the context.
      Parameters:
        `data` - Turbine information.
        `context` - Context for web pages.
      Throws:
        `Exception,` - a generic exception.
        `Exception`

    - #### doBuildTemplate

          protected void doBuildTemplate(PipelineData pipelineData,
                             org.apache.velocity.context.Context context)
                                  throws Exception

      Deprecated.
      Adapter method
      Overrides:
        `doBuildTemplate` in class `VelocityScreen`
      Parameters:
        `pipelineData` - Turbine information.
        `context` - Context for web pages.
      Throws:
        `Exception,` - a generic exception.
        `Exception`

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