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.
A callback interface to customize the Velocity
Context before rendering a document.-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomizeContext(org.apache.velocity.context.Context context, DocumentRenderingContext docRenderingContext, SiteRenderingContext siteRenderingContext) Customize the Velocity context before rendering a document.
-
Method Details
-
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.
-