public class ELIfHelper extends IfHelper
IfHelper in the sense that a String param is
evaluated as EL expression:
{{#if "item.price gt 200"}}
{{item.name}}
{{/if}}
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MatchingSectionHelper.EvaluationLogic |
SECTION_TYPESHELPER_TAG_TYPESconfiguration| Constructor and Description |
|---|
ELIfHelper() |
ELIfHelper(String elseStartDelimiter,
String elseEndDelimiter) |
| Modifier and Type | Method and Description |
|---|---|
protected MatchingSectionHelper.EvaluationLogic |
getDefaultLogic() |
protected Set<String> |
getSupportedHashKeys() |
protected boolean |
hasEmptyParamsSupport() |
protected boolean |
isMatching(Object value,
Options options) |
protected int |
numberOfRequiredParameters() |
isMatchingallowedTagTypesgetRequiredHashKeys, numberOfRequiredHashEntries, validateappend, init, isSection, isUnescapeVariable, isVariablecheckNotInitialized, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationKeys, initprotected Set<String> getSupportedHashKeys()
getSupportedHashKeys in class BasicHelperprotected MatchingSectionHelper.EvaluationLogic getDefaultLogic()
protected boolean hasEmptyParamsSupport()
protected int numberOfRequiredParameters()
numberOfRequiredParameters in class BasicHelperCopyright © 2016. All rights reserved.