org.apache.turbine.modules.navigations

## Class LegacyVelocityNavigation

- java.lang.Object
- - org.apache.turbine.modules.Assembler
  - - org.apache.turbine.modules.Navigation
    - - org.apache.turbine.modules.navigations.TemplateNavigation
      - - org.apache.turbine.modules.navigations.VelocityNavigation
        - - org.apache.turbine.modules.navigations.LegacyVelocityNavigation

- Deprecated.
  Use VelocityNavigation directly

      @Deprecated
      public class LegacyVelocityNavigation
      extends VelocityNavigation

  Support Turbine 2 navigation modules
  Author:
    Thomas Vandahl

- - ### Field Summary

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

      `CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LegacyVelocityNavigation()` 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 Navigations 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.navigations.VelocityNavigation

      `buildTemplate, doBuildTemplate`

    - ### Methods inherited from class org.apache.turbine.modules.navigations.TemplateNavigation

      `doBuild`

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

      `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

    - #### LegacyVelocityNavigation

          public LegacyVelocityNavigation()

      Deprecated.

  - ### Method Detail

    - #### doBuildTemplate

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

      Deprecated.
      Velocity Navigations 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.

    - #### doBuildTemplate

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

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

Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.