Package io.swagger.codegen.mustache
Class UppercaseLambda
- java.lang.Object
-
- io.swagger.codegen.mustache.UppercaseLambda
-
- All Implemented Interfaces:
com.samskivert.mustache.Mustache.Lambda
public class UppercaseLambda extends Object implements com.samskivert.mustache.Mustache.Lambda
Converts text in a fragment to uppercase. Register:additionalProperties.put("uppercase", new UppercaseLambda());
Use:{{#uppercase}}{{summary}}{{/uppercase}}
-
-
Constructor Summary
Constructors Constructor Description UppercaseLambda()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(com.samskivert.mustache.Template.Fragment fragment, Writer writer)
-
-
-
Method Detail
-
execute
public void execute(com.samskivert.mustache.Template.Fragment fragment, Writer writer) throws IOException
- Specified by:
execute
in interfacecom.samskivert.mustache.Mustache.Lambda
- Throws:
IOException
-
-