Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.3
-
None
Description
I defined a Interpreter for JexlEngine but found it does not work while evaluating template string, I debugged and found Interpreter of jexl is not applied for TemplateEngine by default.
I found there is a method createTemplateInterpreter in Engine.class
/** * Creates a template interpreter. * @param args the template interpreter arguments */ protected Interpreter createTemplateInterpreter(final TemplateInterpreter.Arguments args) { return new TemplateInterpreter(args); }
But the parameter TemplateInterpreter.Arguments is not visible outside of the package, is it possible to change the visibility so that we can override it?
Thanks!