public class EqualsHelper extends BasicSectionHelper
Object.equals(Object)).
{{#isEq item.status Status.ACTIVE}}
It's equal!
{{/isEq}}
If only one param is defined, the object at the top of the context stack is used:
{{#with foo}}
{{#isEq Status.ACTIVE}}
It's equal!
{{/isEq}}
{{/with}}
If any object is null, the block is not rendered.SECTION_TYPESHELPER_TAG_TYPESconfiguration| Constructor and Description |
|---|
EqualsHelper()
Tests equality.
|
EqualsHelper(boolean testInequality) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Options options)
Execute the helper.
|
allowedTagTypesgetRequiredHashKeys, getSupportedHashKeys, numberOfRequiredHashEntries, numberOfRequiredParameters, validateappend, convertAndAppend, convertValue, init, isSection, isUnescapeVariable, isVariablecheckNotInitialized, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationKeys, initCopyright © 2017. All rights reserved.