Class VelocityRendererBuilder
java.lang.Object
org.apache.tiles.request.velocity.render.VelocityRendererBuilder
Builds a VelocityRenderer.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates the Velocity renderer.static VelocityRendererBuilder
Returns a new instance of the builder.setApplicationContext
(ApplicationContext applicationContext) Sets the application context.setParameter
(String key, String value) Sets a parameter for the internal servlet.
-
Method Details
-
createInstance
Returns a new instance of the builder.- Returns:
- A new builder.
-
setParameter
Sets a parameter for the internal servlet.- Parameters:
key
- The name of the parameter.value
- The value of the parameter.- Returns:
- This builder.
-
setApplicationContext
Sets the application context.- Parameters:
applicationContext
- The application context.- Returns:
- This builder.
-
build
Creates the Velocity renderer.- Returns:
- The Velocity renderer.
-