org.apache.turbine.modules.navigations
Class BaseJspNavigation

java.lang.Object
  extended by org.apache.turbine.modules.Assembler
      extended by org.apache.turbine.modules.Navigation
          extended by org.apache.turbine.modules.navigations.TemplateNavigation
              extended by org.apache.turbine.modules.navigations.BaseJspNavigation

public class BaseJspNavigation
extends TemplateNavigation

Base JSP navigation that should be subclassed by Navigation that want to use JSP. Subclasses should override the doBuildTemplate() method.

Version:
$Id: BaseJspNavigation.java 1078552 2011-03-06 19:58:46Z tv $
Author:
John D. McNally, Henning P. Schmiedehausen, Peter Courcoux

Field Summary
 
Fields inherited from class org.apache.turbine.modules.Navigation
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
 
Constructor Summary
BaseJspNavigation()
           
 
Method Summary
 org.apache.ecs.ConcreteElement buildTemplate(PipelineData pipelineData)
          Method that sets up beans and forward the request to the JSP.
 org.apache.ecs.ConcreteElement buildTemplate(RunData data)
          Deprecated. Use PipelineData version instead.
protected  void doBuildTemplate(PipelineData pipelineData)
          Method to be overidden by subclasses to include data in beans, etc.
protected  void doBuildTemplate(RunData data)
          Deprecated. Use PipelineData version instead.
 
Methods inherited from class org.apache.turbine.modules.navigations.TemplateNavigation
doBuild, doBuild
 
Methods inherited from class org.apache.turbine.modules.Navigation
build, build, getPrefix, prepareText
 
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

BaseJspNavigation

public BaseJspNavigation()
Method Detail

doBuildTemplate

@Deprecated
protected void doBuildTemplate(RunData data)
                        throws Exception
Deprecated. Use PipelineData version instead.

Method to be overidden by subclasses to include data in beans, etc.

Specified by:
doBuildTemplate in class TemplateNavigation
Parameters:
data - the Rundata object
Throws:
Exception - a generic exception.

doBuildTemplate

protected void doBuildTemplate(PipelineData pipelineData)
                        throws Exception
Method to be overidden by subclasses to include data in beans, etc.

Overrides:
doBuildTemplate in class TemplateNavigation
Parameters:
data - the PipelineData object
Throws:
Exception - a generic exception.

buildTemplate

@Deprecated
public org.apache.ecs.ConcreteElement buildTemplate(RunData data)
                                             throws Exception
Deprecated. Use PipelineData version instead.

Method that sets up beans and forward the request to the JSP.

Specified by:
buildTemplate in class TemplateNavigation
Parameters:
data - the Rundata object
Returns:
null - the JSP sends the information
Throws:
Exception - a generic exception.

buildTemplate

public org.apache.ecs.ConcreteElement buildTemplate(PipelineData pipelineData)
                                             throws Exception
Method that sets up beans and forward the request to the JSP.

Overrides:
buildTemplate in class TemplateNavigation
Parameters:
data - the PipelineData object
Returns:
null - the JSP sends the information
Throws:
Exception - a generic exception.


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