Package | Description |
---|---|
org.trimou.engine | |
org.trimou.engine.config |
Modifier and Type | Class and Description |
---|---|
class |
MustacheEngineBuilder
A builder for
MustacheEngine . |
Modifier and Type | Method and Description |
---|---|
ConfigurationExtension.ConfigurationExtensionBuilder |
ConfigurationExtension.ConfigurationExtensionBuilder.addGlobalData(String name,
Object value)
Adds a value (e.g.
|
ConfigurationExtension.ConfigurationExtensionBuilder |
ConfigurationExtension.ConfigurationExtensionBuilder.addMustacheListener(MustacheListener listener)
Adds a
Mustache listener. |
ConfigurationExtension.ConfigurationExtensionBuilder |
ConfigurationExtension.ConfigurationExtensionBuilder.addResolver(Resolver resolver)
Adds a value resolver.
|
ConfigurationExtension.ConfigurationExtensionBuilder |
ConfigurationExtension.ConfigurationExtensionBuilder.addValueConverter(ValueConverter converter)
Adds a value converter.
|
ConfigurationExtension.ConfigurationExtensionBuilder |
ConfigurationExtension.ConfigurationExtensionBuilder.registerHelper(String name,
Helper helper)
Register a helper instance.
|
ConfigurationExtension.ConfigurationExtensionBuilder |
ConfigurationExtension.ConfigurationExtensionBuilder.registerHelper(String name,
Helper helper,
boolean overwrite)
Register a helper instance.
|
ConfigurationExtension.ConfigurationExtensionBuilder |
ConfigurationExtension.ConfigurationExtensionBuilder.registerHelpers(Map<String,Helper> helpers)
Register all the helper instances.
|
ConfigurationExtension.ConfigurationExtensionBuilder |
ConfigurationExtension.ConfigurationExtensionBuilder.registerHelpers(Map<String,Helper> helpers,
boolean overwrite)
Register all the helper instances.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurationExtension.register(ConfigurationExtension.ConfigurationExtensionBuilder builder)
Allows to register additional configuration components, e.g.
|
void |
DefaultConfigurationExtension.register(ConfigurationExtension.ConfigurationExtensionBuilder builder) |
static void |
ConfigurationExtensions.registerHelper(ConfigurationExtension.ConfigurationExtensionBuilder builder,
String name,
Helper helper)
Register helpers and do nothing if a helper with the same name is already registered.
|
static void |
ConfigurationExtensions.registerHelpers(ConfigurationExtension.ConfigurationExtensionBuilder builder,
Map<String,Helper> helpers)
Register helper and do nothing if a helper with the same name is already registered.
|
Copyright © 2017. All rights reserved.