- Enclosing interface:
TemplateFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Context object that provides the ability to inject arguments into the string template.
-
Method Summary
-
Method Details
-
invoke
Injects an argument into the underlying string template. The resulting string, the so-called intermediary string, must be placed directly into the string. It will be replaced by the actual value by the time the template is interpolated.- Parameters:
o- the object to inject.- Returns:
- the intermediary string to be placed into the template.
-