Package | Description |
---|---|
org.trimou.handlebars |
Modifier and Type | Method and Description |
---|---|
HelpersBuilder |
HelpersBuilder.add(String name,
Helper helper) |
HelpersBuilder |
HelpersBuilder.addAlt()
Add an instance of
AlternativesHelper . |
HelpersBuilder |
HelpersBuilder.addAlt(AlternativesHelper.Selector selector)
Add an instance of
AlternativesHelper . |
HelpersBuilder |
HelpersBuilder.addAsync()
Add an instance of
AsyncHelper . |
HelpersBuilder |
HelpersBuilder.addBuiltin() |
HelpersBuilder |
HelpersBuilder.addCache()
Add an instance of
CacheHelper . |
HelpersBuilder |
HelpersBuilder.addEach()
Add an instance of
EachHelper with the "each" name. |
HelpersBuilder |
HelpersBuilder.addEmbed()
Add an instance of
EmbedHelper with the "embed" name. |
HelpersBuilder |
HelpersBuilder.addEmbed(EmbedHelper.SourceProcessor processor)
Add an instance of
EmbedHelper with the "embed" name and the source processor. |
HelpersBuilder |
HelpersBuilder.addEval()
Add an instance of
EvalHelper . |
HelpersBuilder |
HelpersBuilder.addEval(EvalHelper.Notation notation)
Add an instance of
EvalHelper . |
HelpersBuilder |
HelpersBuilder.addExtra() |
HelpersBuilder |
HelpersBuilder.addFmt() |
HelpersBuilder |
HelpersBuilder.addChoose()
Add an instance of
ChooseHelper with the "choose" name. |
HelpersBuilder |
HelpersBuilder.addIf()
|
HelpersBuilder |
HelpersBuilder.addIf(String elseStartDelimiter,
String elseEndDelimiter)
|
HelpersBuilder |
HelpersBuilder.addInclude()
Add an instance of
IncludeHelper with the "include" name. |
HelpersBuilder |
HelpersBuilder.addInvoke()
Add an instance of
InvokeHelper . |
HelpersBuilder |
HelpersBuilder.addIs()
|
HelpersBuilder |
HelpersBuilder.addIsEqual()
Add an instance of
EqualsHelper with the "isEq" name. |
HelpersBuilder |
HelpersBuilder.addIsEven()
Add an instance of
NumberIsEvenHelper with the "isEven"
name. |
HelpersBuilder |
HelpersBuilder.addIsNotEqual()
Add an instance of
EqualsHelper which tests inequality with the
"isNotEq" name. |
HelpersBuilder |
HelpersBuilder.addIsNotNull()
Add an instance of
NullCheckHelper which tests "not null" with
the "isNotNull" name. |
HelpersBuilder |
HelpersBuilder.addIsNull()
Add an instance of
NullCheckHelper with the "isNull"
name. |
HelpersBuilder |
HelpersBuilder.addIsOdd()
Add an instance of
NumberIsOddHelper with the "isOdd"
name. |
HelpersBuilder |
HelpersBuilder.addJoin()
Add an instance of
JoinHelper . |
HelpersBuilder |
HelpersBuilder.addMax()
Add an instance of
AlternativesHelper . |
HelpersBuilder |
HelpersBuilder.addMin()
Add an instance of
AlternativesHelper . |
HelpersBuilder |
HelpersBuilder.addNumExpr()
Add an instance of
NumericExpressionHelper . |
HelpersBuilder |
HelpersBuilder.addNumExpr(NumericExpressionHelper.Operator defaultOperator)
Add an instance of
NumericExpressionHelper . |
HelpersBuilder |
HelpersBuilder.addRepeat()
Add an instance of
RepeatHelper . |
HelpersBuilder |
HelpersBuilder.addSet()
|
HelpersBuilder |
HelpersBuilder.addSwitch()
Add an instance of
SwitchHelper with the "switch" name. |
HelpersBuilder |
HelpersBuilder.addSwitch(boolean caseDefaultIsBreak)
Add an instance of
SwitchHelper with the "switch" name. |
HelpersBuilder |
HelpersBuilder.addTag() |
HelpersBuilder |
HelpersBuilder.addUnless()
Add an instance of
UnlessHelper with the "unless" name. |
HelpersBuilder |
HelpersBuilder.addWith()
Add an instance of
WithHelper with the "with" name. |
static HelpersBuilder |
HelpersBuilder.all() |
static HelpersBuilder |
HelpersBuilder.builtin()
Built-in helpers are registered automatically if
EngineConfigurationKey.HANDLEBARS_SUPPORT_ENABLED set to
true . |
static HelpersBuilder |
HelpersBuilder.empty() |
static HelpersBuilder |
HelpersBuilder.extra() |
static HelpersBuilder |
NumericExpressionHelper.forEachOperator()
Enum.toString() is used as the helper name. |
static HelpersBuilder |
NumericExpressionHelper.forEachOperator(HelpersBuilder builder) |
Modifier and Type | Method and Description |
---|---|
static HelpersBuilder |
NumericExpressionHelper.forEachOperator(HelpersBuilder builder) |
Copyright © 2017. All rights reserved.