Package liqp

Class Template.ContextHolder

java.lang.Object
liqp.Template.ContextHolder
Enclosing class:
Template

public static class Template.ContextHolder extends Object
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 Details

    • ContextHolder

      public ContextHolder()
  • Method Details