public class SetHelper extends BasicSectionHelper
WithHelper except the current
HelperDefinition.getHash() map is pushed on the context stack.
{{#set foo="hello"}}
{{foo}}
{{/set}}
{{#set foo="Hello" myName=person.name}}
{{foo}} {{myName}}!
{{/set}}
SECTION_TYPESHELPER_TAG_TYPESconfiguration| Constructor and Description |
|---|
SetHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Options options)
Execute the helper.
|
protected int |
numberOfRequiredHashEntries() |
protected int |
numberOfRequiredParameters() |
allowedTagTypesvalidateappend, getHashValue, init, isSection, isUnescapeVariable, isVariablegetConfigurationKeys, checkNotInitialized, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationKeys, initpublic void execute(Options options)
Helperprotected int numberOfRequiredParameters()
numberOfRequiredParameters in class BasicHelperprotected int numberOfRequiredHashEntries()
numberOfRequiredHashEntries in class BasicHelperCopyright © 2015. All Rights Reserved.