-
- Enclosing class:
- Mustache
public static interface Mustache.CustomContextProvides a means to implement custom logic for variable lookup. If a context object implements this interface, itsgetmethod will be used to look up variables instead of the usual methods. This is simpler than having a context implementMapwhich would require that it also support theMap.entrySet()method for iteration. ACustomContextobject cannot be used for a list section.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectget(String name)Fetches the value of a variable namedname.
-