public abstract class AbstractHelper extends AbstractConfigurationAware implements Helper
configuration| Constructor and Description |
|---|
AbstractHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
append(Options options,
CharSequence sequence)
Escape appended sequence if needed.
|
protected Object |
getHashValue(Options options,
String key) |
protected void |
init()
Can be overridden so that there's no need to call
super.init(Configuration). |
protected boolean |
isSection(Options options) |
protected boolean |
isUnescapeVariable(Options options) |
protected boolean |
isVariable(Options options) |
void |
validate(HelperDefinition definition)
Helper should validate the tag definition (e.g. number of parameters)
during compilation and fail fast if necessary.
|
getConfigurationKeys, checkNotInitialized, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationKeys, initpublic void validate(HelperDefinition definition)
HelperMustacheException with code
MustacheProblem.COMPILE_HELPER_VALIDATION_FAILURE should be
thrown in case of validation failure occurs.protected void init()
AbstractConfigurationAwaresuper.init(Configuration).init in class AbstractConfigurationAwareprotected boolean isSection(Options options)
protected boolean isVariable(Options options)
protected boolean isUnescapeVariable(Options options)
protected void append(Options options, CharSequence sequence)
options - sequence - TextSupportCopyright © 2015. All rights reserved.