Package | Description |
---|---|
org.apache.velocity.spring |
Modifier and Type | Method and Description |
---|---|
VelocityEngine |
VelocityEngineFactory.createVelocityEngine()
Prepare the VelocityEngine instance and return it.
|
VelocityEngine |
VelocityEngineFactoryBean.getObject() |
protected VelocityEngine |
VelocityEngineFactory.newVelocityEngine()
Return a new VelocityEngine.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends VelocityEngine> |
VelocityEngineFactoryBean.getObjectType() |
Modifier and Type | Method and Description |
---|---|
protected void |
VelocityEngineFactory.initSpringResourceLoader(VelocityEngine velocityEngine,
String resourceLoaderPath)
Initialize a SpringResourceLoader for the given VelocityEngine.
|
protected void |
VelocityEngineFactory.initVelocityResourceLoader(VelocityEngine velocityEngine,
String resourceLoaderPath)
Initialize a Velocity resource loader for the given VelocityEngine:
either a standard Velocity FileResourceLoader or a SpringResourceLoader.
|
static void |
VelocityEngineUtils.mergeTemplate(VelocityEngine velocityEngine,
String templateLocation,
Map<String,Object> model,
Writer writer)
Deprecated.
Use
VelocityEngineUtils.mergeTemplate(VelocityEngine, String, String, Map, Writer)
instead, following Velocity 1.6's corresponding deprecation in its own API. |
static void |
VelocityEngineUtils.mergeTemplate(VelocityEngine velocityEngine,
String templateLocation,
String encoding,
Map<String,Object> model,
Writer writer)
Merge the specified Velocity template with the given model and write the result
to the given Writer.
|
static String |
VelocityEngineUtils.mergeTemplateIntoString(VelocityEngine velocityEngine,
String templateLocation,
Map<String,Object> model)
Deprecated.
Use
VelocityEngineUtils.mergeTemplateIntoString(VelocityEngine, String, String, Map)
instead, following Velocity 1.6's corresponding deprecation in its own API. |
static String |
VelocityEngineUtils.mergeTemplateIntoString(VelocityEngine velocityEngine,
String templateLocation,
String encoding,
Map<String,Object> model)
Merge the specified Velocity template with the given model into a String.
|
protected void |
VelocityEngineFactory.postProcessVelocityEngine(VelocityEngine velocityEngine)
To be implemented by subclasses that want to perform custom
post-processing of the VelocityEngine after this FactoryBean
performed its default configuration (but before VelocityEngine.init).
|
Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.