public class TagHelper extends BasicHelper
{{tag "foo"}}will be rendered as:
{{foo}}A little bit more complicated example:
{{#tag "each" "items as='item'"}} {{tag "this"}} {{/tag}}will be rendered as:
{{#each items as='item'}} {{this}} {{/each}}
EngineConfigurationKey.START_DELIMITER
,
EngineConfigurationKey.END_DELIMITER
HELPER_TAG_TYPES
configuration
Constructor and Description |
---|
TagHelper() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Options options)
Execute the helper.
|
allowedTagTypes, getRequiredHashKeys, getSupportedHashKeys, numberOfRequiredHashEntries, numberOfRequiredParameters, validate
append, convertAndAppend, convertValue, init, isSection, isUnescapeVariable, isVariable
checkNotInitialized, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfigurationKeys, init
Copyright © 2017. All rights reserved.