|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.modules.Assembler
org.apache.turbine.modules.Navigation
org.apache.turbine.modules.navigations.TemplateNavigation
org.apache.turbine.modules.navigations.VelocityNavigation
public class VelocityNavigation
VelocityNavigation. This screen relies on the VelocityPage being set as the default page. The doBuildTemplate() assumes the user has put the template filename in the RunData parameter and set it to the value of the template file to execute. Specialized Navigations screens should extend this class and override the doBuildTemplate( data , context) method.
Field Summary |
---|
Fields inherited from class org.apache.turbine.modules.Navigation |
---|
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX |
Constructor Summary | |
---|---|
VelocityNavigation()
|
Method Summary | |
---|---|
org.apache.ecs.ConcreteElement |
buildTemplate(PipelineData pipelineData)
This Builds the Velocity template. |
org.apache.ecs.ConcreteElement |
buildTemplate(RunData data)
Deprecated. Use PipelineData version instead. |
protected void |
doBuildTemplate(PipelineData pipelineData)
Needs to be implemented to make TemplateNavigation like us. |
protected void |
doBuildTemplate(PipelineData pipelineData,
org.apache.velocity.context.Context context)
Velocity Navigations extending this class should overide this method to perform any particular business logic and add information to the context. |
protected void |
doBuildTemplate(RunData data)
Deprecated. Use PipelineData version instead. |
protected void |
doBuildTemplate(RunData data,
org.apache.velocity.context.Context context)
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 |
---|
public VelocityNavigation()
Method Detail |
---|
@Deprecated protected void doBuildTemplate(RunData data, org.apache.velocity.context.Context context) throws Exception
data
- Turbine information.context
- Context for web pages.
Exception,
- a generic exception.
Exception
protected void doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context) throws Exception
data
- Turbine information.context
- Context for web pages.
Exception,
- a generic exception.
Exception
@Deprecated protected void doBuildTemplate(RunData data) throws Exception
doBuildTemplate
in class TemplateNavigation
data
- Turbine information.
Exception,
- a generic exception.
Exception
- a generic exception.protected void doBuildTemplate(PipelineData pipelineData) throws Exception
doBuildTemplate
in class TemplateNavigation
pipelineData
- Turbine information.
Exception,
- a generic exception.
Exception
- a generic exception.@Deprecated public org.apache.ecs.ConcreteElement buildTemplate(RunData data) throws Exception
buildTemplate
in class TemplateNavigation
data
- Turbine information.
Exception,
- a generic exception.
Exception
- a generic exception.public org.apache.ecs.ConcreteElement buildTemplate(PipelineData pipelineData) throws Exception
buildTemplate
in class TemplateNavigation
data
- Turbine information.
Exception,
- a generic exception.
Exception
- a generic exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |