Interface ContextCustomizer
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ContextCustomizerA callback interface to customize the VelocityContextbefore rendering a document.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcustomizeContext(org.apache.velocity.context.Context context, DocumentRenderingContext docRenderingContext, SiteRenderingContext siteRenderingContext)Customize the Velocity context before rendering a document.
-
-
-
Method Detail
-
customizeContext
void customizeContext(org.apache.velocity.context.Context context, DocumentRenderingContext docRenderingContext, SiteRenderingContext siteRenderingContext)Customize the Velocity context before rendering a document.- Parameters:
context- the Velocity context to customize.docRenderingContext- the document rendering context for the document being rendered.siteRenderingContext- the site rendering context for the site being rendered.
-
-