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() |
Modifier and Type | Method and Description |
---|---|
com.samskivert.mustache.Mustache.VariableFetcher |
createFetcher(Object ctx,
String name) |
void |
setEnvironment(Environment environment) |
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.