| Package | Description | 
|---|---|
| org.trimou.handlebars | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AsyncHelper
A simple helper whose content is rendered asynchronously. 
 | 
class  | 
CacheHelper
Allows to cache template fragments in memory. 
 | 
class  | 
EachHelper
Iterates over the params or the object at the top of the context stack. 
 | 
class  | 
EqualsHelper
Renders a block if the first param does/doesn't equal to the
 second param (by means of  
Object.equals(Object)). | 
class  | 
ChooseHelper
This helper works similarly as the JSP c:choose tag. 
 | 
static class  | 
ChooseHelper.OtherwiseHelper  | 
static class  | 
ChooseHelper.WhenHelper
The first param is the test condition. 
 | 
class  | 
IfHelper
Renders a block if the param is not "falsy". 
 | 
class  | 
NullCheckHelper
Renders a block if the param is/isn't null. 
 | 
class  | 
RepeatHelper
Allows to repeat the section multiple times:
 
 {{#repeat times=3}}
   Hello three times! 
 | 
class  | 
SetHelper
Works similarly as  
WithHelper except the current
 HelperDefinition.getHash() map is pushed on the context stack. | 
class  | 
SwitchHelper
This helper works similarly as the Java switch statement. 
 | 
static class  | 
SwitchHelper.CaseHelper
The first param is the matching value. 
 | 
static class  | 
SwitchHelper.DefaultHelper  | 
class  | 
UnlessHelper
Renders a block if the param is "falsy". 
 | 
class  | 
WithHelper
Nested context. 
 | 
Copyright © 2017. All rights reserved.