public class VelocityTemplateEngineImpl extends AbstractTemplateEngine
| Modifier and Type | Class and Description |
|---|---|
protected class |
VelocityTemplateEngineImpl.InsertionHandler
The handler for insertion of references.
|
protected class |
VelocityTemplateEngineImpl.RTFContext
Velocity doesn't accept
null values due to context
chaining issues. |
formats, template| Constructor and Description |
|---|
VelocityTemplateEngineImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.velocity.app.VelocityEngine |
getVelocityEngine() |
protected void |
mergeWithTemplateEngine(Writer writer) |
IContext |
newContext() |
void |
setVelocityEngine(org.apache.velocity.app.VelocityEngine velocityEngine) |
escapeSpecialCharacters, getContext, getDefaultFormat, initializeContext, merge, merge, merge, mustBeEscaped, put, setContext, setDefaultFormat, setFormatMap, setGlobalContext, setTemplatepublic IContext newContext()
protected void mergeWithTemplateEngine(Writer writer) throws Exception
mergeWithTemplateEngine in class AbstractTemplateEngineExceptionpublic org.apache.velocity.app.VelocityEngine getVelocityEngine()
public void setVelocityEngine(org.apache.velocity.app.VelocityEngine velocityEngine)
Copyright © 2020 Mice S.r.l. All rights reserved.