org.wickedsource.docxstamper.api.EvaluationContextConfigurer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docx-stamper Show documentation
Show all versions of docx-stamper Show documentation
Template engine for .docx documents.
package org.wickedsource.docxstamper.api;
import org.springframework.expression.spel.support.StandardEvaluationContext;
/**
* Allows for custom configuration of a spring expression language {@link org.springframework.expression.EvaluationContext}.
* This can for example be used to add custom {@link org.springframework.expression.PropertyAccessor}s and {@link org.springframework.expression.MethodResolver}s.
*/
public interface EvaluationContextConfigurer {
/**
* Configure the context before it's used by docxstamper.
*
* @param context the spel eval context, not null
*/
void configureEvaluationContext(StandardEvaluationContext context);
}