public interface Helper extends ConfigurationAware
Options.fn()), however we've tried to follow the original
handlebars terminology as much as possible.MustacheEngineBuilder.registerHelper(String, Helper)| Modifier and Type | Method and Description |
|---|---|
void |
execute(Options options)
Execute the helper.
|
void |
validate(HelperDefinition definition)
Helper should validate the tag definition (e.g. number of parameters)
during compilation and fail fast if necessary.
|
getConfigurationKeys, initvoid execute(Options options)
options - java.io.IOExceptionvoid validate(HelperDefinition definition)
MustacheException with code
MustacheProblem.COMPILE_HELPER_VALIDATION_FAILURE should be
thrown in case of validation failure occurs.definition - Copyright © 2014. All Rights Reserved.