@Deprecated @ConfigurationProperties(prefix="spring.velocity") public class VelocityProperties extends AbstractTemplateViewResolverProperties
ConfigurationProperties
for configuring Velocity.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PREFIX
Deprecated.
|
static String |
DEFAULT_RESOURCE_LOADER_PATH
Deprecated.
|
static String |
DEFAULT_SUFFIX
Deprecated.
|
Constructor and Description |
---|
VelocityProperties()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
applyToViewResolver(Object viewResolver)
Deprecated.
Apply the given properties to a
AbstractTemplateViewResolver . |
String |
getDateToolAttribute()
Deprecated.
|
String |
getNumberToolAttribute()
Deprecated.
|
Map<String,String> |
getProperties()
Deprecated.
|
String |
getResourceLoaderPath()
Deprecated.
|
String |
getToolboxConfigLocation()
Deprecated.
|
boolean |
isPreferFileSystemAccess()
Deprecated.
|
void |
setDateToolAttribute(String dateToolAttribute)
Deprecated.
|
void |
setNumberToolAttribute(String numberToolAttribute)
Deprecated.
|
void |
setPreferFileSystemAccess(boolean preferFileSystemAccess)
Deprecated.
|
void |
setProperties(Map<String,String> properties)
Deprecated.
|
void |
setResourceLoaderPath(String resourceLoaderPath)
Deprecated.
|
void |
setToolboxConfigLocation(String toolboxConfigLocation)
Deprecated.
|
getPrefix, getRequestContextAttribute, getSuffix, isAllowRequestOverride, isAllowSessionOverride, isExposeRequestAttributes, isExposeSessionAttributes, isExposeSpringMacroHelpers, setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers, setPrefix, setRequestContextAttribute, setSuffix
getCharset, getCharsetName, getContentType, getViewNames, isCache, isCheckTemplateLocation, isEnabled, setCache, setCharset, setCheckTemplateLocation, setContentType, setEnabled, 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 boolean isPreferFileSystemAccess()
public void setPreferFileSystemAccess(boolean preferFileSystemAccess)
public void applyToViewResolver(Object viewResolver)
AbstractTemplateViewResolverProperties
AbstractTemplateViewResolver
. Use Object in
signature to avoid runtime dependency on MVC, which means that the template engine
can be used in a non-web application.applyToViewResolver
in class AbstractTemplateViewResolverProperties
viewResolver
- the resolver to apply the properties to.Copyright © 2016 Pivotal Software, Inc.. All rights reserved.