org.apache.turbine.modules
Class Navigation

java.lang.Object
  extended by org.apache.turbine.modules.Assembler
      extended by org.apache.turbine.modules.Navigation
Direct Known Subclasses:
TemplateNavigation

public abstract class Navigation
extends Assembler

This is the base class that defines what a Navigation module is.

Version:
$Id: Navigation.java 222043 2004-12-06 17:47:33Z painter $
Author:
Dave Bryson, Henning P. Schmiedehausen, Peter Courcoux

Constructor Summary
Navigation()
           
 
Method Summary
protected  org.apache.ecs.ConcreteElement build(PipelineData pipelineData)
          Subclasses can override this method to add additional functionality.
protected  org.apache.ecs.ConcreteElement build(RunData data)
          Deprecated. Use PipelineData version instead
protected  org.apache.ecs.ConcreteElement doBuild(PipelineData pipelineData)
          A subclass must override this method to build itself.
protected abstract  org.apache.ecs.ConcreteElement doBuild(RunData data)
          Deprecated. Use PipelineData version instead
static java.lang.String prepareText(java.lang.String s)
          Deprecated. Use InputFilterUtils.prepareText(String s)
 
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

Navigation

public Navigation()
Method Detail

doBuild

protected abstract org.apache.ecs.ConcreteElement doBuild(RunData data)
                                                   throws java.lang.Exception
Deprecated. Use PipelineData version instead

A subclass must override this method to build itself. Subclasses override this method to store the navigation in RunData or to write the navigation to the output stream referenced in RunData.

Parameters:
data - Turbine information.
Throws:
java.lang.Exception - a generic exception.

build

protected org.apache.ecs.ConcreteElement build(RunData data)
                                        throws java.lang.Exception
Deprecated. Use PipelineData version instead

Subclasses can override this method to add additional functionality. This method is protected to force clients to use NavigationLoader to build a Navigation.

Parameters:
data - Turbine information.
Throws:
java.lang.Exception - a generic exception.

doBuild

protected org.apache.ecs.ConcreteElement doBuild(PipelineData pipelineData)
                                          throws java.lang.Exception
A subclass must override this method to build itself. Subclasses override this method to store the navigation in RunData or to write the navigation to the output stream referenced in RunData.

Parameters:
data - Turbine information.
Throws:
java.lang.Exception - a generic exception.

build

protected org.apache.ecs.ConcreteElement build(PipelineData pipelineData)
                                        throws java.lang.Exception
Subclasses can override this method to add additional functionality. This method is protected to force clients to use NavigationLoader to build a Navigation.

Parameters:
data - Turbine information.
Throws:
java.lang.Exception - a generic exception.

prepareText

public static java.lang.String prepareText(java.lang.String s)
Deprecated. Use InputFilterUtils.prepareText(String s)

This function can/should be used in any screen that will output User entered text. This will help prevent users from entering html ( SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.