public abstract class AbstractHelper extends AbstractConfigurationAware implements Helper
| 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) |
void |
init(Configuration configuration)
Initialize the component.
|
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.
|
getConfigurationKeysclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationKeyspublic void validate(HelperDefinition definition)
HelperMustacheException with code
MustacheProblem.COMPILE_HELPER_VALIDATION_FAILURE should be
thrown in case of validation failure occurs.public void init(Configuration configuration)
ConfigurationAwareinit in interface ConfigurationAwareinit 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 © 2014. All Rights Reserved.