public class MustacheEnvironmentCollector
extends com.samskivert.mustache.DefaultCollector
implements org.springframework.context.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(org.springframework.core.env.Environment environment) |
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.