Class LowercaseLambda

  • All Implemented Interfaces:
    com.samskivert.mustache.Mustache.Lambda

    public class LowercaseLambda
    extends Object
    implements com.samskivert.mustache.Mustache.Lambda
    Converts text in a fragment to lowercase. Register:
     additionalProperties.put("lowercase", new LowercaseLambda());
     
    Use:
     {{#lowercase}}{{httpMethod}}{{/lowercase}}
     
    • Constructor Detail

      • LowercaseLambda

        public LowercaseLambda()
    • Method Detail

      • execute

        public void execute​(com.samskivert.mustache.Template.Fragment fragment,
                            Writer writer)
                     throws IOException
        Specified by:
        execute in interface com.samskivert.mustache.Mustache.Lambda
        Throws:
        IOException