Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- afterPropertiesSet() - Method in class net.shibboleth.shared.spring.velocity.VelocityConfigurer
-
Initialize VelocityEngineFactory's VelocityEngine if not overridden by a pre-configured VelocityEngine.
- afterPropertiesSet() - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactoryBean
- autodetectVelocityEngine() - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Autodetect a VelocityEngine via the ApplicationContext.
C
- cacheTemplate - Variable in class net.shibboleth.shared.spring.velocity.VelocityView
-
Caching flag.
- checkResource(Locale) - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Check that the Velocity template used for this view exists and is valid.
- configLocation - Variable in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Source of configuration.
- createVelocityContext(Map<String, Object>) - Method in class net.shibboleth.shared.spring.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 net.shibboleth.shared.spring.velocity.VelocityView
-
Create a Velocity Context instance for the given model, to be passed to the template for merging.
- createVelocityEngine() - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Prepare the VelocityEngine instance and return it.
D
- doRender(Context, HttpServletResponse) - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Render the Velocity view to the given response, using the given Velocity context which contains the complete template model to use.
E
- encoding - Variable in class net.shibboleth.shared.spring.velocity.VelocityView
-
Template encoding.
G
- getEncoding() - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Return the encoding for the Velocity template.
- getLastModified(Resource) - Method in class net.shibboleth.shared.spring.velocity.SpringResourceLoader
- getObject() - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactoryBean
- getObjectType() - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactoryBean
- getResourceReader(String, String) - Method in class net.shibboleth.shared.spring.velocity.SpringResourceLoader
- getTemplate() - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Retrieve the Velocity template to be rendered by this view.
- getTemplate(String) - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Retrieve the Velocity template specified by the given name, using the encoding specified by the "encoding" bean property.
- getVelocityEngine() - Method in interface net.shibboleth.shared.spring.velocity.VelocityConfig
-
Return the VelocityEngine for the current web application context.
- getVelocityEngine() - Method in class net.shibboleth.shared.spring.velocity.VelocityConfigurer
-
Return the VelocityEngine for the current web application context.
- getVelocityEngine() - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Return the VelocityEngine used by this view.
I
- init(ExtProperties) - Method in class net.shibboleth.shared.spring.velocity.SpringResourceLoader
- initApplicationContext() - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Invoked on startup.
- initSpringResourceLoader(VelocityEngine, String) - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Initialize a SpringResourceLoader for the given VelocityEngine.
- initVelocityResourceLoader(VelocityEngine, String) - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Initialize a Velocity resource loader for the given VelocityEngine: either a standard Velocity FileResourceLoader or a SpringResourceLoader.
- isCacheTemplate() - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Return whether the Velocity template should be cached.
- isSingleton() - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactoryBean
- isSourceModified(Resource) - Method in class net.shibboleth.shared.spring.velocity.SpringResourceLoader
L
- log - Variable in class net.shibboleth.shared.spring.velocity.SpringResourceLoader
-
Class logger.
- log - Variable in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Class logger.
M
- mergeTemplate(Template, Context, HttpServletResponse) - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Merge the template with the context.
N
- NAME - Static variable in class net.shibboleth.shared.spring.velocity.SpringResourceLoader
-
Constant identifying resource loader name.
- net.shibboleth.shared.spring.velocity - package net.shibboleth.shared.spring.velocity
-
Side-port of Velocity support from Spring 4 after removal from Spring 5.
- newVelocityEngine() - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Return a new VelocityEngine.
P
- postProcessVelocityEngine(VelocityEngine) - Method in class net.shibboleth.shared.spring.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 net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
To be implemented by subclasses that want to perform custom post-processing of the VelocityEngine after the FactoryBean performed its default configuration (but before VelocityEngine.init).
- preferFileSystemAccess - Variable in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Whether to favor file system lookup first.
R
- renderMergedTemplateModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Process the model map by merging it with the Velocity template.
- resourceLoader - Variable in class net.shibboleth.shared.spring.velocity.SpringResourceLoader
-
Underlying Spring resource loader.
- resourceLoader - Variable in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Resource loader.
- resourceLoaderPath - Variable in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Path to load resources from.
- resourceLoaderPaths - Variable in class net.shibboleth.shared.spring.velocity.SpringResourceLoader
-
Resource loader paths.
S
- servletContext - Variable in class net.shibboleth.shared.spring.velocity.VelocityConfigurer
-
Servlet context.
- setCacheTemplate(boolean) - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Set whether the Velocity template should be cached (default is "false").
- setConfigLocation(Resource) - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Set the location of the Velocity config file.
- setEncoding(String) - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Set the encoding of the Velocity template file.
- setPreferFileSystemAccess(boolean) - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Set whether to prefer file system access for template loading.
- setResourceLoader(ResourceLoader) - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Set the Spring ResourceLoader to use for loading Velocity template files.
- setResourceLoaderPath(String) - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Set the Velocity resource loader path via a Spring resource location.
- setServletContext(ServletContext) - Method in class net.shibboleth.shared.spring.velocity.VelocityConfigurer
- setVelocityEngine(VelocityEngine) - Method in class net.shibboleth.shared.spring.velocity.VelocityView
-
Set the VelocityEngine to be used by this view.
- setVelocityProperties(Properties) - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Set Velocity properties, like "file.resource.loader.path".
- setVelocityPropertiesMap(Map<String, Object>) - Method in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Set Velocity properties as Map, to allow for non-String values like "ds.resource.loader.instance".
- SPRING_MACRO_LIBRARY - Static variable in class net.shibboleth.shared.spring.velocity.VelocityConfigurer
-
Name of Spring's default bind macro library.
- SPRING_MACRO_RESOURCE_LOADER_CLASS - Static variable in class net.shibboleth.shared.spring.velocity.VelocityConfigurer
-
Key for the class of Spring's bind macro resource loader.
- SPRING_MACRO_RESOURCE_LOADER_NAME - Static variable in class net.shibboleth.shared.spring.velocity.VelocityConfigurer
-
Name of the resource loader for Spring's bind macros.
- SPRING_RESOURCE_LOADER - Static variable in class net.shibboleth.shared.spring.velocity.SpringResourceLoader
-
Constant identifying
ResourceLoaderinstance. - SPRING_RESOURCE_LOADER_CACHE - Static variable in class net.shibboleth.shared.spring.velocity.SpringResourceLoader
-
Constant identifying caching property.
- SPRING_RESOURCE_LOADER_CLASS - Static variable in class net.shibboleth.shared.spring.velocity.SpringResourceLoader
-
Constant identifying resource loader class name.
- SPRING_RESOURCE_LOADER_PATH - Static variable in class net.shibboleth.shared.spring.velocity.SpringResourceLoader
-
Constant identifying resource loader path.
- SpringResourceLoader - Class in net.shibboleth.shared.spring.velocity
-
Velocity ResourceLoader adapter that loads via a Spring ResourceLoader.
- SpringResourceLoader() - Constructor for class net.shibboleth.shared.spring.velocity.SpringResourceLoader
-
Constructor.
T
- template - Variable in class net.shibboleth.shared.spring.velocity.VelocityView
-
The template.
V
- VelocityConfig - Interface in net.shibboleth.shared.spring.velocity
-
Interface to be implemented by objects that configure and manage a VelocityEngine for automatic lookup in a web environment.
- VelocityConfigurer - Class in net.shibboleth.shared.spring.velocity
-
JavaBean to configure Velocity for web usage, via the "configLocation" and/or "velocityProperties" and/or "resourceLoaderPath" bean properties.
- VelocityConfigurer() - Constructor for class net.shibboleth.shared.spring.velocity.VelocityConfigurer
- velocityEngine - Variable in class net.shibboleth.shared.spring.velocity.VelocityConfigurer
-
Velocity engine.
- velocityEngine - Variable in class net.shibboleth.shared.spring.velocity.VelocityEngineFactoryBean
-
Engine being created.
- velocityEngine - Variable in class net.shibboleth.shared.spring.velocity.VelocityView
-
Velocity engine.
- VelocityEngineFactory - Class in net.shibboleth.shared.spring.velocity
-
Factory that configures a VelocityEngine.
- VelocityEngineFactory() - Constructor for class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Constructor.
- VelocityEngineFactoryBean - Class in net.shibboleth.shared.spring.velocity
-
Factory bean that configures a VelocityEngine and provides it as bean reference.
- VelocityEngineFactoryBean() - Constructor for class net.shibboleth.shared.spring.velocity.VelocityEngineFactoryBean
- velocityProperties - Variable in class net.shibboleth.shared.spring.velocity.VelocityEngineFactory
-
Configuration properties.
- VelocityView - Class in net.shibboleth.shared.spring.velocity
-
View using the Velocity template engine.
- VelocityView() - Constructor for class net.shibboleth.shared.spring.velocity.VelocityView
- VelocityViewResolver - Class in net.shibboleth.shared.spring.velocity
-
Convenience subclass of
UrlBasedViewResolverthat supportsVelocityView(i.e. - VelocityViewResolver() - Constructor for class net.shibboleth.shared.spring.velocity.VelocityViewResolver
-
Constructor.
All Classes and Interfaces|All Packages|Constant Field Values