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.
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.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.
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.
- 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
- 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.
- setEncoding(String) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
-
Set the encoding of the Velocity template file.
- setOverrideLogging(boolean) - Method in class org.springframework.web.servlet.view.velocity.VelocityEngineFactory
-
Set whether Velocity should log via Commons Logging, i.e. whether Velocity's log system should be set to
CommonsLogLogChute. - 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
- 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. a shared one for web and email usage, set up via VelocityEngineFactoryBean.
- 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
- 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