@Deprecated public class MustacheEnvironmentCollector extends com.samskivert.mustache.DefaultCollector implements EnvironmentAware
Mustache.Collector
to expose properties from the Spring Environment
.BOOLEAN_ARRAY_HELPER, BYTE_ARRAY_HELPER, CHAR_ARRAY_HELPER, CUSTOM_FETCHER, DOUBLE_ARRAY_HELPER, FLOAT_ARRAY_HELPER, INT_ARRAY_HELPER, ITER_FETCHER, LIST_FETCHER, LONG_ARRAY_HELPER, MAP_FETCHER, OBJECT_ARRAY_HELPER, SHORT_ARRAY_HELPER
Constructor and Description |
---|
MustacheEnvironmentCollector()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
com.samskivert.mustache.Mustache.VariableFetcher |
createFetcher(Object ctx,
String name)
Deprecated.
Creates a fetcher for a so-named variable in the supplied context object, which will
never be null.
|
void |
setEnvironment(Environment environment)
Deprecated.
|
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
public com.samskivert.mustache.Mustache.VariableFetcher createFetcher(Object ctx, String name)
com.samskivert.mustache.Mustache.Collector
octx.getClass().equals(nctx.getClass()
.createFetcher
in interface com.samskivert.mustache.Mustache.Collector
createFetcher
in class com.samskivert.mustache.DefaultCollector