Package | Description |
---|---|
org.xwiki.velocity |
Modifier and Type | Method and Description |
---|---|
org.apache.velocity.VelocityContext |
VelocityContextFactory.createContext()
Creates and initializes a new Velocity Context.
|
VelocityEngine |
VelocityFactory.createVelocityEngine(String key,
Properties properties)
Creates a new Velocity engine instance, which will be cached using a specific key for later reuse.
|
boolean |
VelocityEngine.evaluate(org.apache.velocity.context.Context context,
Writer out,
String templateName,
Reader source)
Renders the input string using the context into the output writer.
|
boolean |
VelocityEngine.evaluate(org.apache.velocity.context.Context context,
Writer out,
String templateName,
String source)
Renders the input string using the context into the output writer.
|
default boolean |
VelocityManager.evaluate(Writer out,
String templateName,
Reader source)
Renders the input string using the context into the output writer.
|
VelocityEngine |
VelocityManager.getVelocityEngine()
Get the current Velocity Engine or create one if none has been created.
|
void |
VelocityEngine.initialize(Properties properties)
Initializes the Velocity engine by setting its configuration both from the component's configuration and from the
passed properties.
|
Copyright © 2004–2019 XWiki. All rights reserved.