public class VelocityEngineFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
VelocityEngineFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.velocity.app.VelocityEngine |
createVelocityEngine() |
protected void |
postProcessVelocityEngine(org.apache.velocity.app.VelocityEngine velocityEngine) |
void |
setConfigLocation(org.springframework.core.io.Resource configLocation) |
void |
setOverrideLogging(boolean overrideLogging) |
void |
setPreferFileSystemAccess(boolean preferFileSystemAccess) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
void |
setResourceLoaderPath(String resourceLoaderPath) |
void |
setVelocityProperties(Properties velocityProperties) |
void |
setVelocityPropertiesMap(Map<String,Object> velocityPropertiesMap) |
public void setConfigLocation(org.springframework.core.io.Resource configLocation)
public void setVelocityProperties(Properties velocityProperties)
public void setVelocityPropertiesMap(Map<String,Object> velocityPropertiesMap)
public void setResourceLoaderPath(String resourceLoaderPath)
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
public void setPreferFileSystemAccess(boolean preferFileSystemAccess)
public void setOverrideLogging(boolean overrideLogging)
public org.apache.velocity.app.VelocityEngine createVelocityEngine()
throws IOException,
org.apache.velocity.exception.VelocityException
IOExceptionorg.apache.velocity.exception.VelocityExceptionprotected void postProcessVelocityEngine(org.apache.velocity.app.VelocityEngine velocityEngine)
throws org.apache.velocity.exception.VelocityException
org.apache.velocity.exception.VelocityExceptionCopyright © 2018 Atlassian. All rights reserved.