@FunctionalInterface public interface ContextConverter extends Converter<Object,Object>, WithPriority, Validateable, ConfigurationAware
Any converter may validate itself - see also Validateable. The
validation is performed before a MustacheEngine is
built. An invalid converter is not put into service, i.e. it's not included
in the final list of converters returned by
Configuration.getContextConverters().
This component has also priority - converters with higher priority are called first. When a converter is able to convert the value all other converters with lower priority are skipped.
Resolver.resolve(Object, String,
org.trimou.engine.resolver.ResolutionContext),
MustacheEngineBuilder.addContextConverter(ContextConverter)DEFAULT_PRIORITYgetPriorityisValidgetConfigurationKeys, initCopyright © 2020. All rights reserved.