Interface Mustache.VariableFetcher

  • All Known Implementing Classes:
    BasicCollector.ArrayHelper
    Enclosing class:
    Mustache

    public static interface Mustache.VariableFetcher
    Reads variables from context objects.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object get​(java.lang.Object ctx, java.lang.String name)
      Reads the so-named variable from the supplied context object.
    • Method Detail

      • get

        java.lang.Object get​(java.lang.Object ctx,
                             java.lang.String name)
                      throws java.lang.Exception
        Reads the so-named variable from the supplied context object.
        Throws:
        java.lang.Exception