Interface Mustache.InvertibleLambda

All Superinterfaces:
Mustache.Lambda
Enclosing class:
Mustache

public static interface Mustache.InvertibleLambda extends Mustache.Lambda
Handles lambdas that are also invoked for inverse sections..
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes this lambda on the supplied template fragment, when the lambda is used in an inverse section.

    Methods inherited from interface com.samskivert.mustache.Mustache.Lambda

    execute
  • Method Details

    • executeInverse

      void executeInverse(Template.Fragment frag, Writer out) throws IOException
      Executes this lambda on the supplied template fragment, when the lambda is used in an inverse section. The lambda should write its results to out.
      Parameters:
      frag - the fragment of the template that was passed to the lambda.
      out - the writer to which the lambda should write its output.
      Throws:
      IOException