public final class VelocityRendererBuilder extends Object
VelocityRenderer
.Modifier and Type | Method and Description |
---|---|
VelocityRenderer |
build()
Creates the Velocity renderer.
|
static VelocityRendererBuilder |
createInstance()
Returns a new instance of the builder.
|
VelocityRendererBuilder |
setApplicationContext(ApplicationContext applicationContext)
Sets the application context.
|
VelocityRendererBuilder |
setParameter(String key,
String value)
Sets a parameter for the internal servlet.
|
public static VelocityRendererBuilder createInstance()
public VelocityRendererBuilder setParameter(String key, String value)
key
- The name of the parameter.value
- The value of the parameter.public VelocityRendererBuilder setApplicationContext(ApplicationContext applicationContext)
applicationContext
- The application context.public VelocityRenderer build()
Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.