Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- afterPropertiesSet() - Method in class org.springframework.web.servlet.view.velocity.VelocityConfigurer
-
Initialize VelocityEngineFactory's VelocityEngine if not overridden by a pre-configured VelocityEngine.
- autodetectVelocityEngine() - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Autodetect a VelocityEngine via the ApplicationContext.
B
- buildView(String) - Method in class org.springframework.web.servlet.view.velocity.VelocityViewResolver
C
- checkResource(Locale) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Check that the Velocity template used for this view exists and is valid.
- createVelocityContext(Map<String, Object>) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Create a Velocity Context instance for the given model, to be passed to the template for merging.
- createVelocityContext(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.velocity.VelocityToolboxView
-
Overridden to create a ChainedContext, which is part of the view package of Velocity Tools, as special context.
- createVelocityContext(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Create a Velocity Context instance for the given model, to be passed to the template for merging.
- createVelocityEngine() - Method in class org.springframework.web.servlet.view.velocity.VelocityEngineFactory
-
Prepare the VelocityEngine instance and return it.
D
- doRender(Context, HttpServletResponse) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Render the Velocity view to the given response, using the given Velocity context which contains the complete template model to use.
E
- exposeHelpers(Map<String, Object>, HttpServletRequest) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Expose helpers unique to each rendering operation.
- exposeHelpers(Context, HttpServletRequest) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Expose helpers unique to each rendering operation.
- exposeHelpers(Context, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Expose helpers unique to each rendering operation.
- exposeToolAttributes(Context, HttpServletRequest) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Expose the tool attributes, according to corresponding bean property settings.
G
- getEncoding() - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Return the encoding for the Velocity template.
- getLastModified(Resource) - Method in class org.springframework.web.servlet.view.velocity.SpringResourceLoader
- getResourceStream(String) - Method in class org.springframework.web.servlet.view.velocity.SpringResourceLoader
- getTemplate() - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Retrieve the Velocity template to be rendered by this view.
- getTemplate(String) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Retrieve the Velocity template specified by the given name, using the encoding specified by the "encoding" bean property.
- getToolboxConfigLocation() - Method in class org.springframework.web.servlet.view.velocity.VelocityToolboxView
-
Return the Velocity Toolbox config location, if any.
- getVelocityEngine() - Method in interface org.springframework.web.servlet.view.velocity.VelocityConfig
-
Return the VelocityEngine for the current web application context.
- getVelocityEngine() - Method in class org.springframework.web.servlet.view.velocity.VelocityConfigurer
- getVelocityEngine() - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Return the VelocityEngine used by this view.
I
- init(ExtendedProperties) - Method in class org.springframework.web.servlet.view.velocity.SpringResourceLoader
- initApplicationContext() - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Invoked on startup.
- initApplicationContext() - Method in class org.springframework.web.servlet.view.velocity.VelocityViewResolver
- initTool(Object, Context) - Method in class org.springframework.web.servlet.view.velocity.VelocityToolboxView
-
Overridden to check for the ViewContext interface which is part of the view package of Velocity Tools.
- initTool(Object, Context) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Initialize the given tool instance.
- isCacheTemplate() - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Return whether the Velocity template should be cached.
- isSourceModified(Resource) - Method in class org.springframework.web.servlet.view.velocity.SpringResourceLoader
L
- logger - Static variable in class org.springframework.web.servlet.view.velocity.SpringResourceLoader
- logger - Variable in class org.springframework.web.servlet.view.velocity.VelocityEngineFactory
M
- mergeTemplate(Template, Context, HttpServletResponse) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Merge the template with the context.
N
- NAME - Static variable in class org.springframework.web.servlet.view.velocity.SpringResourceLoader
O
- org.springframework.web.servlet.view.velocity - package org.springframework.web.servlet.view.velocity
P
- postProcessVelocityEngine(VelocityEngine) - Method in class org.springframework.web.servlet.view.velocity.VelocityConfigurer
-
Provides a ClasspathResourceLoader in addition to any default or user-defined loader in order to load the spring Velocity macros from the class path.
- postProcessVelocityEngine(VelocityEngine) - Method in class org.springframework.web.servlet.view.velocity.VelocityEngineFactory
-
To be implemented by subclasses that want to to perform custom post-processing of the VelocityEngine after this FactoryBean performed its default configuration (but before VelocityEngine.init).
R
- renderMergedTemplateModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Process the model map by merging it with the Velocity template.
- requiredViewClass() - Method in class org.springframework.web.servlet.view.velocity.VelocityViewResolver
-
Requires
VelocityView.
S
- setCacheTemplate(boolean) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Set whether the Velocity template should be cached.
- setConfigLocation(Resource) - Method in class org.springframework.web.servlet.view.velocity.VelocityEngineFactory
-
Set the location of the Velocity config file.
- setDateToolAttribute(String) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Set the name of the DateTool helper object to expose in the Velocity context of this view, or
nullif not needed. - setDateToolAttribute(String) - Method in class org.springframework.web.servlet.view.velocity.VelocityViewResolver
-
Set the name of the DateTool helper object to expose in the Velocity context of this view, or
nullif not needed. - setEncoding(String) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Set the encoding of the Velocity template file.
- setNumberToolAttribute(String) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Set the name of the NumberTool helper object to expose in the Velocity context of this view, or
nullif not needed. - setNumberToolAttribute(String) - Method in class org.springframework.web.servlet.view.velocity.VelocityViewResolver
-
Set the name of the NumberTool helper object to expose in the Velocity context of this view, or
nullif not needed. - setOverrideLogging(boolean) - Method in class org.springframework.web.servlet.view.velocity.VelocityEngineFactory
-
Set whether Velocity should log via Commons Logging, i.e.
- setPreferFileSystemAccess(boolean) - Method in class org.springframework.web.servlet.view.velocity.VelocityEngineFactory
-
Set whether to prefer file system access for template loading.
- setResourceLoader(ResourceLoader) - Method in class org.springframework.web.servlet.view.velocity.VelocityEngineFactory
-
Set the Spring ResourceLoader to use for loading Velocity template files.
- setResourceLoaderPath(String) - Method in class org.springframework.web.servlet.view.velocity.VelocityEngineFactory
-
Set the Velocity resource loader path via a Spring resource location.
- setServletContext(ServletContext) - Method in class org.springframework.web.servlet.view.velocity.VelocityConfigurer
- setToolAttributes(Map<String, Class<?>>) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Set tool attributes to expose to the view, as attribute name / class name pairs.
- setToolboxConfigLocation(String) - Method in class org.springframework.web.servlet.view.velocity.VelocityToolboxView
-
Set a Velocity Toolbox config location, for example "/WEB-INF/toolbox.xml", to automatically load a Velocity Tools toolbox definition file and expose all defined tools in the specified scopes.
- setToolboxConfigLocation(String) - Method in class org.springframework.web.servlet.view.velocity.VelocityViewResolver
-
Set a Velocity Toolbox config location, for example "/WEB-INF/toolbox.xml", to automatically load a Velocity Tools toolbox definition file and expose all defined tools in the specified scopes.
- setVelocityEngine(VelocityEngine) - Method in class org.springframework.web.servlet.view.velocity.VelocityConfigurer
-
Set a pre-configured VelocityEngine to use for the Velocity web configuration: e.g.
- setVelocityEngine(VelocityEngine) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Set the VelocityEngine to be used by this view.
- setVelocityProperties(Properties) - Method in class org.springframework.web.servlet.view.velocity.VelocityEngineFactory
-
Set Velocity properties, like "file.resource.loader.path".
- setVelocityPropertiesMap(Map<String, Object>) - Method in class org.springframework.web.servlet.view.velocity.VelocityEngineFactory
-
Set Velocity properties as Map, to allow for non-String values like "ds.resource.loader.instance".
- SPRING_RESOURCE_LOADER - Static variable in class org.springframework.web.servlet.view.velocity.SpringResourceLoader
- SPRING_RESOURCE_LOADER_CACHE - Static variable in class org.springframework.web.servlet.view.velocity.SpringResourceLoader
- SPRING_RESOURCE_LOADER_CLASS - Static variable in class org.springframework.web.servlet.view.velocity.SpringResourceLoader
- SPRING_RESOURCE_LOADER_PATH - Static variable in class org.springframework.web.servlet.view.velocity.SpringResourceLoader
- SpringResourceLoader - Class in org.springframework.web.servlet.view.velocity
-
Velocity ResourceLoader adapter that loads via a Spring ResourceLoader.
- SpringResourceLoader() - Constructor for class org.springframework.web.servlet.view.velocity.SpringResourceLoader
V
- VelocityConfig - Interface in org.springframework.web.servlet.view.velocity
-
Interface to be implemented by objects that configure and manage a VelocityEngine for automatic lookup in a web environment.
- VelocityConfigurer - Class in org.springframework.web.servlet.view.velocity
-
JavaBean to configure Velocity for web usage, via the "configLocation" and/or "velocityProperties" and/or "resourceLoaderPath" bean properties.
- VelocityConfigurer() - Constructor for class org.springframework.web.servlet.view.velocity.VelocityConfigurer
- VelocityEngineFactory - Class in org.springframework.web.servlet.view.velocity
-
Factory that configures a VelocityEngine.
- VelocityEngineFactory() - Constructor for class org.springframework.web.servlet.view.velocity.VelocityEngineFactory
- VelocityToolboxView - Class in org.springframework.web.servlet.view.velocity
-
VelocityViewsubclass which adds support for Velocity Tools toolboxes and Velocity Tools ViewTool callbacks / Velocity Tools 1.3 init methods. - VelocityToolboxView() - Constructor for class org.springframework.web.servlet.view.velocity.VelocityToolboxView
- VelocityView - Class in org.springframework.web.servlet.view.velocity
-
View using the Velocity template engine.
- VelocityView() - Constructor for class org.springframework.web.servlet.view.velocity.VelocityView
- VelocityViewResolver - Class in org.springframework.web.servlet.view.velocity
-
Convenience subclass of
UrlBasedViewResolverthat supportsVelocityView(i.e. - VelocityViewResolver() - Constructor for class org.springframework.web.servlet.view.velocity.VelocityViewResolver
All Classes and Interfaces|All Packages|Constant Field Values