@ConfigurationProperties(prefix="spring.velocity") public class VelocityProperties extends AbstractTemplateViewResolverProperties
ConfigurationProperties
for configuring VelocityModifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PREFIX |
static String |
DEFAULT_RESOURCE_LOADER_PATH |
static String |
DEFAULT_SUFFIX |
Constructor and Description |
---|
VelocityProperties() |
Modifier and Type | Method and Description |
---|---|
void |
applyToViewResolver(VelocityViewResolver resolver)
Apply the given properties to a
VelocityViewResolver . |
String |
getDateToolAttribute() |
String |
getNumberToolAttribute() |
Map<String,String> |
getProperties() |
String |
getResourceLoaderPath() |
String |
getToolboxConfigLocation() |
void |
setDateToolAttribute(String dateToolAttribute) |
void |
setNumberToolAttribute(String numberToolAttribute) |
void |
setProperties(Map<String,String> properties) |
void |
setResourceLoaderPath(String resourceLoaderPath) |
void |
setToolboxConfigLocation(String toolboxConfigLocation) |
getCharSet, getContentType, getPrefix, getRequestContextAttribute, getSuffix, getViewNames, isAllowRequestOverride, isCache, isCheckTemplateLocation, isExposeRequestAttributes, isExposeSessionAttributes, isExposeSpringMacroHelpers, setAllowRequestOverride, setCache, setCharSet, setCheckTemplateLocation, setContentType, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers, setPrefix, setRequestContextAttribute, setSuffix, setViewNames
public static final String DEFAULT_RESOURCE_LOADER_PATH
public static final String DEFAULT_PREFIX
public static final String DEFAULT_SUFFIX
public String getDateToolAttribute()
public void setDateToolAttribute(String dateToolAttribute)
public String getNumberToolAttribute()
public void setNumberToolAttribute(String numberToolAttribute)
public String getResourceLoaderPath()
public void setResourceLoaderPath(String resourceLoaderPath)
public String getToolboxConfigLocation()
public void setToolboxConfigLocation(String toolboxConfigLocation)
public void applyToViewResolver(VelocityViewResolver resolver)
VelocityViewResolver
.applyToViewResolver
in class AbstractTemplateViewResolverProperties
resolver
- the resolver to apply the properties to.Copyright © 2014 Pivotal Software, Inc.. All rights reserved.