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