Package liqp
Class Template.ContextHolder
java.lang.Object
liqp.Template.ContextHolder
- Enclosing class:
- Template
Sometimes the custom insertions needs to return some extra-data, that is not rendarable. Best way
to allow this and keeping existing simplicity(when the result is a string) is: provide holder with
container for that data. Best container is current templateContext, and it is set into this holder
during creation.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ContextHolder
public ContextHolder()
-
-
Method Details
-
getContext
-