-
- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
executeInverse(Template.Fragment frag, java.io.Writer out)
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 Detail
-
executeInverse
void executeInverse(Template.Fragment frag, java.io.Writer out) throws java.io.IOException
Executes this lambda on the supplied template fragment, when the lambda is used in an inverse section. The lambda should write its results toout
.- 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:
java.io.IOException
-
-