@Role
public interface VelocityMacroFilter
Modifier and Type | Method and Description |
---|---|
String |
after(String content,
org.apache.velocity.VelocityContext velocityContext)
Called just before the result of the velocity script execution is parsed.
|
String |
before(String content,
org.apache.velocity.VelocityContext velocityContext)
Called just before the velocity script is executed.
|
String before(String content, org.apache.velocity.VelocityContext velocityContext)
content
- the velocity scriptvelocityContext
- the velocity context. this method can inject here bindings usable in the script like
$somebinding
.String after(String content, org.apache.velocity.VelocityContext velocityContext)
content
- the result of the velocity script executionvelocityContext
- the velocity context. This method usually clean the bindings injected in the velocity
context by before(String, VelocityContext)
Copyright © 2004–2021 XWiki. All rights reserved.