@Component @Singleton public class DefaultVelocityManager extends Object implements org.xwiki.velocity.VelocityManager, org.xwiki.component.phase.Initializable
| Constructor and Description |
|---|
DefaultVelocityManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(Writer out,
String templateName,
Reader source) |
org.apache.velocity.VelocityContext |
getCurrentVelocityContext() |
org.apache.velocity.VelocityContext |
getVelocityContext() |
org.xwiki.velocity.VelocityEngine |
getVelocityEngine() |
void |
initialize() |
public void initialize()
throws org.xwiki.component.phase.InitializationException
initialize in interface org.xwiki.component.phase.Initializableorg.xwiki.component.phase.InitializationExceptionpublic org.apache.velocity.VelocityContext getVelocityContext()
getVelocityContext in interface org.xwiki.velocity.VelocityManagerpublic org.apache.velocity.VelocityContext getCurrentVelocityContext()
getCurrentVelocityContext in interface org.xwiki.velocity.VelocityManagerpublic org.xwiki.velocity.VelocityEngine getVelocityEngine()
throws org.xwiki.velocity.XWikiVelocityException
getVelocityEngine in interface org.xwiki.velocity.VelocityManagerorg.xwiki.velocity.XWikiVelocityException - in case of an error while creating a Velocity EngineCopyright © 2004–2022 XWiki. All rights reserved.