- CACHE - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- CacheHelper - Class in org.trimou.handlebars
-
Allows to cache template fragments in memory.
- CacheHelper() - Constructor for class org.trimou.handlebars.CacheHelper
-
- capitalizeFully(String, Character) - Static method in class org.trimou.util.Strings
-
Capitalizes all the delimiter separated words.
- CASE - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- CaseHelper() - Constructor for class org.trimou.handlebars.SwitchHelper.CaseHelper
-
- CaseHelper(boolean) - Constructor for class org.trimou.handlebars.SwitchHelper.CaseHelper
-
- checkArgument(boolean, String) - Static method in class org.trimou.util.Checker
-
- checkArgumentNotEmpty(String) - Static method in class org.trimou.util.Checker
-
- checkArgumentNotNull(Object) - Static method in class org.trimou.util.Checker
-
- checkArgumentsNotNull(Object...) - Static method in class org.trimou.util.Checker
-
- Checker - Class in org.trimou.util
-
- checkHash(Class<? extends Helper>, HelperDefinition, int) - Static method in class org.trimou.handlebars.HelperValidator
-
- checkHash(HelperDefinition, BasicHelper) - Static method in class org.trimou.handlebars.HelperValidator
-
- checkNotInitialized(boolean) - Method in class org.trimou.engine.config.AbstractConfigurationAware
-
- checkParams(Class<? extends Helper>, HelperDefinition, int) - Static method in class org.trimou.handlebars.HelperValidator
-
- checkRootDir() - Method in class org.trimou.engine.locator.FilePathTemplateLocator
-
- checkType(Class<? extends Helper>, HelperDefinition, MustacheTagType...) - Static method in class org.trimou.handlebars.HelperValidator
-
- CHOOSE - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- ChooseHelper - Class in org.trimou.handlebars
-
This helper works similarly as the JSP c:choose tag.
- ChooseHelper() - Constructor for class org.trimou.handlebars.ChooseHelper
-
- ChooseHelper.OtherwiseHelper - Class in org.trimou.handlebars
-
- ChooseHelper.WhenHelper - Class in org.trimou.handlebars
-
The first param is the test condition.
- CLASS - Static variable in class org.trimou.handlebars.OptionsHashKeys
-
- ClassPathTemplateLocator - Class in org.trimou.engine.locator
-
Classpath template locator.
- ClassPathTemplateLocator(int, String) - Constructor for class org.trimou.engine.locator.ClassPathTemplateLocator
-
- ClassPathTemplateLocator(int, String, String) - Constructor for class org.trimou.engine.locator.ClassPathTemplateLocator
-
- ClassPathTemplateLocator(int, String, ClassLoader) - Constructor for class org.trimou.engine.locator.ClassPathTemplateLocator
-
- ClassPathTemplateLocator(int, String, String, ClassLoader, boolean) - Constructor for class org.trimou.engine.locator.ClassPathTemplateLocator
-
- ClassPathTemplateLocator.Builder - Class in org.trimou.engine.locator
-
- clear() - Method in interface org.trimou.engine.cache.ComputingCache
-
Clear the cache.
- clearData() - Method in class org.trimou.engine.listener.EnhancedStatsCollector
-
Drop all the collected data.
- clearData() - Method in class org.trimou.engine.listener.SimpleStatsCollector
-
Drop all the collected data.
- CombinedIndexResolver - Class in org.trimou.engine.resolver
-
A combined resolver which is able to resolve index-based access to lists and
arrays.
- CombinedIndexResolver() - Constructor for class org.trimou.engine.resolver.CombinedIndexResolver
-
- CombinedIndexResolver(int) - Constructor for class org.trimou.engine.resolver.CombinedIndexResolver
-
- CommentSegment - Class in org.trimou.engine.segment
-
Comment segment.
- CommentSegment(String, Origin) - Constructor for class org.trimou.engine.segment.CommentSegment
-
- compilationFinished(MustacheCompilationEvent) - Method in class org.trimou.engine.listener.AbstractMustacheListener
-
- compilationFinished(MustacheCompilationEvent) - Method in interface org.trimou.engine.listener.MustacheListener
-
Notification that a
Mustache
template was just compiled.
- compileMustache(String, String) - Method in interface org.trimou.engine.MustacheEngine
-
Compile the given template.
- compileMustache(String) - Method in interface org.trimou.engine.MustacheEngine
-
Compile the given template.
- compute(K) - Method in interface org.trimou.engine.cache.ComputingCache.Function
-
Compute a value for a key.
- COMPUTING_CACHE_CONSUMER_ID - Static variable in class org.trimou.engine.listener.EnhancedStatsCollector
-
- COMPUTING_CACHE_CONSUMER_ID - Static variable in class org.trimou.engine.listener.SimpleStatsCollector
-
- COMPUTING_CACHE_CONSUMER_ID - Static variable in interface org.trimou.engine.MustacheEngine
-
- COMPUTING_CACHE_CONSUMER_ID - Static variable in class org.trimou.engine.resolver.ReflectionResolver
-
- ComputingCache<K,V> - Interface in org.trimou.engine.cache
-
A simple abstraction for computing (lazy loading) cache.
- ComputingCache.Function<K,V> - Interface in org.trimou.engine.cache
-
- ComputingCache.KeyPredicate<K> - Interface in org.trimou.engine.cache
-
- ComputingCache.Listener<K> - Interface in org.trimou.engine.cache
-
- ComputingCacheFactory - Interface in org.trimou.engine.cache
-
- ConditionSelector() - Constructor for class org.trimou.handlebars.AlternativesHelper.ConditionSelector
-
- ConditionSelector(AlternativesHelper.ConditionSelector.Condition) - Constructor for class org.trimou.handlebars.AlternativesHelper.ConditionSelector
-
- configuration - Variable in class org.trimou.engine.config.AbstractConfigurationAware
-
- Configuration - Interface in org.trimou.engine.config
-
Mustache engine configuration.
- ConfigurationAware - Interface in org.trimou.engine.config
-
Configuration-aware components can define additional configuration keys to be
processed and also initialize themselves with partially initialized engine
configuration.
- ConfigurationExtension - Interface in org.trimou.engine.config
-
Configuration extensions are automatically loaded during the engine
initialization, provided the ServiceLoader mechanism is not disabled.
- ConfigurationExtension.ConfigurationExtensionBuilder - Interface in org.trimou.engine.config
-
- ConfigurationExtensions - Class in org.trimou.engine.config
-
- ConfigurationFactory - Class in org.trimou.engine.config
-
- ConfigurationFactory() - Constructor for class org.trimou.engine.config.ConfigurationFactory
-
- ConfigurationKey - Interface in org.trimou.engine.config
-
A configuration key.
- constructVirtualPath(String) - Method in class org.trimou.engine.locator.ClassPathTemplateLocator
-
- constructVirtualPath(File) - Method in class org.trimou.engine.locator.FilePathTemplateLocator
-
- constructVirtualPath(T) - Method in class org.trimou.engine.locator.PathTemplateLocator
-
- ContainerSegment - Interface in org.trimou.engine.segment
-
Segment which contains other segments.
- contains(Object[], Object) - Static method in class org.trimou.util.Arrays
-
- containsOnlyDigits(String) - Static method in class org.trimou.util.Strings
-
- containsOnlyWhitespace(String) - Static method in class org.trimou.util.Strings
-
- containsWhitespace(String) - Static method in class org.trimou.util.Strings
-
- contentMustBeNonWhitespaceCharacterSequence(MustacheTagType) - Static method in enum org.trimou.engine.MustacheTagType
-
- contentMustBeValidated(MustacheTagType) - Static method in enum org.trimou.engine.MustacheTagType
-
- convert(FROM) - Method in interface org.trimou.engine.convert.Converter
-
- convert(Object) - Method in class org.trimou.engine.convert.ObjectToDateConverter
-
- convert(long) - Method in class org.trimou.engine.listener.AbstractStatsCollector
-
- convert(String) - Method in class org.trimou.engine.resolver.MapCustomKeyResolver
-
- convertAndAppend(Options, Object) - Method in class org.trimou.handlebars.AbstractHelper
-
- Converter<FROM,TO> - Interface in org.trimou.engine.convert
-
A component which is able to convert an object to a different object.
- convertValue(Object) - Method in class org.trimou.handlebars.AbstractHelper
-
- copy(Readable, Appendable, int) - Static method in class org.trimou.util.IOUtils
-
- copyOf(List<T>) - Static method in class org.trimou.util.ImmutableList
-
- copyOf(Map<K, V>) - Static method in class org.trimou.util.ImmutableMap
-
- copyOf(Set<T>) - Static method in class org.trimou.util.ImmutableSet
-
- create(String, ComputingCache.Function<K, V>, Long, Long, ComputingCache.Listener<K>) - Method in interface org.trimou.engine.cache.ComputingCacheFactory
-
The
ComputingCache
implementations are not required to implement
eviction operations (expiration timeout, maximum size, listener).
- create(String, ComputingCache.Function<K, V>, Long, Long, ComputingCache.Listener<K>) - Method in class org.trimou.engine.cache.DefaultComputingCacheFactory
-
- createConfiguration(MustacheEngineBuilder) - Method in class org.trimou.engine.config.ConfigurationFactory
-
- createHint(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.AbstractResolver
-
- createHint(Object, String, ResolutionContext) - Method in interface org.trimou.engine.resolver.EnhancedResolver
-
- createHint(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.MapResolver
-
- createHint(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.ReflectionResolver
-
- createHint(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.ThisResolver
-
- createParser(MustacheEngine) - Method in class org.trimou.engine.parser.ParserFactory
-
- createParsingHandler() - Method in class org.trimou.engine.parser.ParsingHandlerFactory
-
- CUSTOM_PATTERN_KEY - Static variable in class org.trimou.engine.resolver.i18n.DateTimeFormatResolver
-
- Identified - Interface in org.trimou.engine.id
-
Any component that needs to be identified by a generated
Long
id.
- IdentifierGenerator - Interface in org.trimou.engine.id
-
An idenfitier (long value) generator.
- IF - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- IfHelper - Class in org.trimou.handlebars
-
Renders a block if the param is not "falsy".
- IfHelper() - Constructor for class org.trimou.handlebars.IfHelper
-
- IfHelper(String, String) - Constructor for class org.trimou.handlebars.IfHelper
-
- ImmutableIterationMeta - Class in org.trimou.engine.segment
-
An immutable iteration metadata.
- ImmutableIterationMeta(String, int, int) - Constructor for class org.trimou.engine.segment.ImmutableIterationMeta
-
- ImmutableIterationMeta(String, int, int, String, Object) - Constructor for class org.trimou.engine.segment.ImmutableIterationMeta
-
- ImmutableList - Class in org.trimou.util
-
Immutable lists.
- ImmutableList() - Constructor for class org.trimou.util.ImmutableList
-
- ImmutableList.ImmutableListBuilder<T> - Class in org.trimou.util
-
- ImmutableMap - Class in org.trimou.util
-
Immutable maps.
- ImmutableMap() - Constructor for class org.trimou.util.ImmutableMap
-
- ImmutableMap.ImmutableMapBuilder<K,V> - Class in org.trimou.util
-
- ImmutableSet - Class in org.trimou.util
-
Immutable sets.
- ImmutableSet() - Constructor for class org.trimou.util.ImmutableSet
-
- ImmutableSet.ImmutableSetBuilder<T> - Class in org.trimou.util
-
- INAPPLICABLE_HINT - Static variable in class org.trimou.engine.resolver.Hints
-
A hint which is never applicable.
- INCLUDE - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- IncludeHelper - Class in org.trimou.handlebars
-
Works similarly as partial tag except the name of the template to include may
be obtained dynamically.
- IncludeHelper() - Constructor for class org.trimou.handlebars.IncludeHelper
-
- IndexResolver - Class in org.trimou.engine.resolver
-
Abstract index-based resolver.
- IndexResolver(int) - Constructor for class org.trimou.engine.resolver.IndexResolver
-
- init(Configuration) - Method in class org.trimou.engine.config.AbstractConfigurationAware
-
When overriding this method, always call super.init(config)
.
- init() - Method in class org.trimou.engine.config.AbstractConfigurationAware
-
Can be overridden so that there's no need to call
super.init(Configuration)
.
- init(Configuration) - Method in interface org.trimou.engine.config.ConfigurationAware
-
Initialize the component.
- init() - Method in class org.trimou.engine.listener.EnhancedStatsCollector
-
- init() - Method in class org.trimou.engine.listener.SimpleStatsCollector
-
- init() - Method in class org.trimou.engine.locator.PathTemplateLocator
-
- init(Configuration) - Method in class org.trimou.engine.resolver.CombinedIndexResolver
-
- init() - Method in class org.trimou.engine.resolver.i18n.DateTimeFormatResolver
-
- init() - Method in class org.trimou.engine.resolver.i18n.LocaleAwareResolver
-
- init() - Method in class org.trimou.engine.resolver.ReflectionResolver
-
- init() - Method in class org.trimou.handlebars.AbstractHelper
-
- init() - Method in class org.trimou.handlebars.CacheHelper
-
- init() - Method in class org.trimou.handlebars.EachHelper
-
- init() - Method in class org.trimou.handlebars.i18n.LocaleAwareValueHelper
-
- init() - Method in class org.trimou.handlebars.i18n.TimeFormatHelper
-
- init() - Method in class org.trimou.handlebars.InvokeHelper
-
- initIntHashEntry(Options, String) - Static method in class org.trimou.handlebars.Helpers
-
- initIntHashEntry(Options, String, Integer) - Static method in class org.trimou.handlebars.Helpers
-
- InputLiteralLambda - Class in org.trimou.lambda
-
Since 2.0 this abstract class is not needed anymore -
InputType#LITERAL
is the default.
- InputLiteralLambda() - Constructor for class org.trimou.lambda.InputLiteralLambda
-
- InputProcessingLambda - Class in org.trimou.lambda
-
- InputProcessingLambda() - Constructor for class org.trimou.lambda.InputProcessingLambda
-
- inputType(Lambda.InputType) - Method in class org.trimou.lambda.SimpleLambdas.Builder
-
- Internal - Annotation Type in org.trimou.annotations
-
An internal component - annotated element may be subject of incompatible changes
in future releases - actually, it's not supposed to be a part of the public
API.
- interpolateReturnValue() - Method in class org.trimou.lambda.SimpleLambdas.Builder
-
- invalidate(ComputingCache.KeyPredicate<K>) - Method in interface org.trimou.engine.cache.ComputingCache
-
Invalidate all entries whose keys satisfy a predicate.
- invalidateFragments() - Method in class org.trimou.handlebars.CacheHelper
-
Invalidate all the cache fragments.
- invalidateFragments(String) - Method in class org.trimou.handlebars.CacheHelper
-
Invalidate the cache fragments whose key contains the given part of the
key.
- invalidateMemberCache(Predicate<Class<?>>) - Method in class org.trimou.engine.resolver.ReflectionResolver
-
The member cache may theoretically cause memory leaks due to using hard
references to
Class
and
Member
instances.
- invalidateTemplateCache() - Method in interface org.trimou.engine.MustacheEngine
-
Invalidate all the cache entries for both compiled and uncompiled templates.
- invalidateTemplateCache(Predicate<String>) - Method in interface org.trimou.engine.MustacheEngine
-
Invalidate the cache entries whose template name is matching the given predicate.
- InvertedSectionSegment - Class in org.trimou.engine.segment
-
Inverted section segment.
- InvertedSectionSegment(String, Origin, List<Segment>) - Constructor for class org.trimou.engine.segment.InvertedSectionSegment
-
- INVOKE - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- invoke(String) - Method in class org.trimou.lambda.i18n.ResourceBundleLambda
-
- invoke(String) - Method in interface org.trimou.lambda.Lambda
-
- invoke(Function<String, String>) - Method in class org.trimou.lambda.SimpleLambdas.Builder
-
- invoke(Function<String, String>) - Static method in class org.trimou.lambda.SimpleLambdas
-
- InvokeHelper - Class in org.trimou.handlebars
-
Invokes public methods with parameters via reflection.
- InvokeHelper() - Constructor for class org.trimou.handlebars.InvokeHelper
-
- InvokeHelper(ClassLoader) - Constructor for class org.trimou.handlebars.InvokeHelper
-
- InvokeHelper(ClassLoader, String) - Constructor for class org.trimou.handlebars.InvokeHelper
-
- IOUtils - Class in org.trimou.util
-
- IS - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- IS_EQUAL - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- IS_EVEN - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- IS_NOT_EQUAL - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- IS_NOT_NULL - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- IS_NOT_ONEOFF_LAMBA_TEMPLATE - Static variable in class org.trimou.engine.listener.AbstractStatsCollector
-
Skip templates used for Lambda return value interpolation.
- IS_NULL - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- IS_ODD - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- IS_PREFIX - Static variable in class org.trimou.engine.resolver.ReflectionResolver
-
- isAnIndex(String) - Method in class org.trimou.engine.resolver.IndexResolver
-
- isApplied(String) - Method in class org.trimou.engine.listener.AbstractStatsCollector
-
- isConstantName(Class<?>, String) - Static method in class org.trimou.util.Reflections
-
- isDirectoryUsable(File) - Static method in class org.trimou.util.Files
-
- isEmpty(CharSequence) - Static method in class org.trimou.util.Strings
-
- isEnabled - Variable in class org.trimou.engine.convert.AbstractValueConverter
-
- isEven() - Method in class org.trimou.engine.segment.ImmutableIterationMeta
-
- isEvictionSupported() - Method in enum org.trimou.engine.cache.DefaultComputingCacheFactory.MaxSizeStrategy
-
- isFalsy(Object) - Static method in class org.trimou.util.Checker
-
- isFileUsable(File) - Static method in class org.trimou.util.Files
-
- isFirst() - Method in class org.trimou.engine.segment.ImmutableIterationMeta
-
- IsHelper - Class in org.trimou.handlebars
-
Renders the second param if the first param is not falsy, or (optionally,
i.e. if set) the third param.
- IsHelper() - Constructor for class org.trimou.handlebars.IsHelper
-
- isLast() - Method in class org.trimou.engine.segment.ImmutableIterationMeta
-
- isListLiteral(String) - Static method in class org.trimou.util.Strings
-
- isListLiteralEnd(char) - Static method in class org.trimou.util.Strings
-
- isListLiteralStart(char) - Static method in class org.trimou.util.Strings
-
- isMatching(Object) - Method in class org.trimou.handlebars.IfHelper
-
- isMatching(Object) - Method in class org.trimou.handlebars.NullCheckHelper
-
- isMatching(Number) - Method in class org.trimou.handlebars.NumberIsEvenHelper
-
- isMatching(Number) - Method in class org.trimou.handlebars.NumberIsOddHelper
-
- isMatching(Number) - Method in class org.trimou.handlebars.NumberMatchingHelper
-
- isMatching(Object) - Method in class org.trimou.handlebars.UnlessHelper
-
- isNull() - Method in class org.trimou.engine.context.ValueWrapper
-
- isNullOrEmpty(Collection<?>) - Static method in class org.trimou.util.Checker
-
- isNullOrEmpty(Map<?, ?>) - Static method in class org.trimou.util.Checker
-
- isOdd() - Method in class org.trimou.engine.segment.ImmutableIterationMeta
-
- isOmitServiceLoaderConfigurationExtensions() - Method in class org.trimou.engine.MustacheEngineBuilder
-
- isReturnValueInterpolated() - Method in class org.trimou.lambda.i18n.ResourceBundleLambda
-
- isReturnValueInterpolated() - Method in interface org.trimou.lambda.Lambda
-
- isReturnValueInterpolated() - Method in class org.trimou.lambda.SpecCompliantLambda
-
- isSection(Options) - Method in class org.trimou.handlebars.AbstractHelper
-
- isSection(Options) - Static method in class org.trimou.handlebars.Helpers
-
- isSeparator(char) - Method in class org.trimou.engine.interpolation.BracketDotKeySplitter
-
- isSeparator(char) - Method in class org.trimou.engine.interpolation.DotKeySplitter
-
- isStringLiteralSeparator(char) - Static method in class org.trimou.util.Strings
-
- isUnescape() - Method in class org.trimou.engine.segment.ValueSegment
-
- isUnescapeVariable(Options) - Method in class org.trimou.handlebars.AbstractHelper
-
- isUnescapeVariable(Options) - Static method in class org.trimou.handlebars.Helpers
-
- isValid() - Method in class org.trimou.engine.convert.AbstractValueConverter
-
- isValid() - Method in class org.trimou.engine.resolver.CombinedIndexResolver
-
- isValid() - Method in interface org.trimou.engine.validation.Validateable
-
- isValuePlaceholder(Object) - Static method in class org.trimou.handlebars.Helpers
-
- isVariable(Options) - Method in class org.trimou.handlebars.AbstractHelper
-
- isVariable(Options) - Static method in class org.trimou.handlebars.Helpers
-
- Iterables - Class in org.trimou.util
-
- Iterables() - Constructor for class org.trimou.util.Iterables
-
- REFLECTION_RESOLVER_PRIORITY - Static variable in class org.trimou.engine.resolver.ReflectionResolver
-
- ReflectionResolver - Class in org.trimou.engine.resolver
-
Reflection-based resolver attempts to find a matching member on the context
object class and its superclasses.
- ReflectionResolver() - Constructor for class org.trimou.engine.resolver.ReflectionResolver
-
- ReflectionResolver(int) - Constructor for class org.trimou.engine.resolver.ReflectionResolver
-
- Reflections - Class in org.trimou.util
-
- register(ConfigurationExtension.ConfigurationExtensionBuilder) - Method in interface org.trimou.engine.config.ConfigurationExtension
-
Allows to register additional configuration components, e.g.
- register(ConfigurationExtension.ConfigurationExtensionBuilder) - Method in class org.trimou.engine.config.DefaultConfigurationExtension
-
- registerCallback(MustacheEngineBuilder.EngineBuiltCallback) - Method in class org.trimou.engine.MustacheEngineBuilder
-
Callback is useful to configure a component instantiated before the
engine is built.
- registerHelper(String, Helper) - Method in interface org.trimou.engine.config.ConfigurationExtension.ConfigurationExtensionBuilder
-
Register a helper instance.
- registerHelper(String, Helper, boolean) - Method in interface org.trimou.engine.config.ConfigurationExtension.ConfigurationExtensionBuilder
-
Register a helper instance.
- registerHelper(ConfigurationExtension.ConfigurationExtensionBuilder, String, Helper) - Static method in class org.trimou.engine.config.ConfigurationExtensions
-
Register helpers and do nothing if a helper with the same name is already registered.
- registerHelper(String, Helper) - Method in class org.trimou.engine.MustacheEngineBuilder
-
Each helper must be registered with a unique name.
- registerHelper(String, Helper, boolean) - Method in class org.trimou.engine.MustacheEngineBuilder
-
Each helper must be registered with a unique name.
- registerHelpers(Map<String, Helper>) - Method in interface org.trimou.engine.config.ConfigurationExtension.ConfigurationExtensionBuilder
-
Register all the helper instances.
- registerHelpers(Map<String, Helper>, boolean) - Method in interface org.trimou.engine.config.ConfigurationExtension.ConfigurationExtensionBuilder
-
Register all the helper instances.
- registerHelpers(ConfigurationExtension.ConfigurationExtensionBuilder, Map<String, Helper>) - Static method in class org.trimou.engine.config.ConfigurationExtensions
-
Register helper and do nothing if a helper with the same name is already registered.
- registerHelpers(Map<String, Helper>) - Method in class org.trimou.engine.MustacheEngineBuilder
-
Each helper must be registered with a unique name.
- registerHelpers(Map<String, Helper>, boolean) - Method in class org.trimou.engine.MustacheEngineBuilder
-
Each helper must be registered with a unique name.
- registerReleaseCallback(ReleaseCallback) - Method in class org.trimou.engine.resource.AbstractReleaseCallbackContainer
-
- registerReleaseCallback(ReleaseCallback) - Method in interface org.trimou.engine.resource.ReleaseCallbackContainer
-
Register a release callback.
- release() - Method in class org.trimou.engine.resource.AbstractReleaseCallbackContainer
-
- release() - Method in interface org.trimou.engine.resource.ReleaseCallback
-
Release all the resources.
- ReleaseCallback - Interface in org.trimou.engine.resource
-
Release callback.
- ReleaseCallbackContainer - Interface in org.trimou.engine.resource
-
- removeSuffix(String, String) - Static method in class org.trimou.util.Strings
-
- render(Object) - Method in class org.trimou.engine.parser.Template
-
- render(Appendable, Object) - Method in class org.trimou.engine.parser.Template
-
- render(Object) - Method in interface org.trimou.Mustache
-
Render the template.
- render(Appendable, Object) - Method in interface org.trimou.Mustache
-
Render the template.
- renderingFinished(MustacheRenderingEvent) - Method in class org.trimou.engine.listener.AbstractMustacheListener
-
- renderingFinished(MustacheRenderingEvent) - Method in class org.trimou.engine.listener.EnhancedStatsCollector
-
- renderingFinished(MustacheRenderingEvent) - Method in interface org.trimou.engine.listener.MustacheListener
-
Rendering of a
Mustache
is about to finish.
- renderingStarted(MustacheRenderingEvent) - Method in class org.trimou.engine.listener.AbstractMustacheListener
-
- renderingStarted(MustacheRenderingEvent) - Method in class org.trimou.engine.listener.EnhancedStatsCollector
-
- renderingStarted(MustacheRenderingEvent) - Method in interface org.trimou.engine.listener.MustacheListener
-
Rendering of a
Mustache
is about to start.
- renderingStarted(MustacheRenderingEvent) - Method in class org.trimou.engine.listener.SimpleStatsCollector
-
- REPEAT - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- repeat(String, int, String) - Static method in class org.trimou.util.Strings
-
- RepeatHelper - Class in org.trimou.handlebars
-
Allows to repeat the section multiple times:
{{#repeat times=3}}
Hello three times!
- RepeatHelper() - Constructor for class org.trimou.handlebars.RepeatHelper
-
- replace(String, String, String) - Static method in class org.trimou.util.Strings
-
- ResolutionContext - Interface in org.trimou.engine.resolver
-
- resolve(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.ArrayIndexResolver
-
- resolve(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.CombinedIndexResolver
-
- resolve(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.DummyTransformResolver
-
- resolve(Object, String, ResolutionContext) - Method in interface org.trimou.engine.resolver.EnhancedResolver.Hint
-
Note that the runtime class of the context object may be different
than the class used to create the hint.
- resolve(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.ListIndexResolver
-
- resolve(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.MapCustomKeyResolver
-
- resolve(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.MapResolver
-
- resolve(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.ReflectionResolver
-
- resolve(Object, String, ResolutionContext) - Method in interface org.trimou.engine.resolver.Resolver
-
Resolve the value from specified context object and name.
- resolve(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.ThisResolver
-
- resolve(Object, String, ResolutionContext) - Method in class org.trimou.engine.resolver.TransformResolver
-
- Resolver - Interface in org.trimou.engine.resolver
-
A value resolver.
- ResourceBundleHelper - Class in org.trimou.handlebars.i18n
-
First register the helper instance:
MustacheEngineBuilder.newBuilder().registerHelper("msg", new ResourceBundleHelper("messages")).build();
Than use the helper in the template:
{{msg "my.key"}}
The key need not be a string literal:
{{msg foo.key}}
You may also override the default baseName:
{{msg "my.key" baseName="messages"}}
And also use message parameters and
Formatter
or
MessageFormat
:
hello.key=Hello %s!
- ResourceBundleHelper(String) - Constructor for class org.trimou.handlebars.i18n.ResourceBundleHelper
-
- ResourceBundleHelper(String, ResourceBundleHelper.Format) - Constructor for class org.trimou.handlebars.i18n.ResourceBundleHelper
-
- ResourceBundleHelper.Format - Enum in org.trimou.handlebars.i18n
-
- ResourceBundleLambda - Class in org.trimou.lambda.i18n
-
Displays localized messages.
- ResourceBundleLambda(String) - Constructor for class org.trimou.lambda.i18n.ResourceBundleLambda
-
- ResourceBundleLambda(String, LocaleSupport) - Constructor for class org.trimou.lambda.i18n.ResourceBundleLambda
-
- ResourceBundleResolver - Class in org.trimou.engine.resolver.i18n
-
- ResourceBundleResolver(String) - Constructor for class org.trimou.engine.resolver.i18n.ResourceBundleResolver
-
- ResourceBundleResolver(String, int) - Constructor for class org.trimou.engine.resolver.i18n.ResourceBundleResolver
-
- rightAfter(int) - Static method in class org.trimou.engine.priority.Priorities
-
- rightBefore(int) - Static method in class org.trimou.engine.priority.Priorities
-
- RootSegment - Class in org.trimou.engine.segment
-
The root segment of a template.
- RootSegment(Origin, List<Segment>) - Constructor for class org.trimou.engine.segment.RootSegment
-
- SECTION_TYPES - Static variable in class org.trimou.handlebars.BasicSectionHelper
-
- SectionSegment - Class in org.trimou.engine.segment
-
Section segment.
- SectionSegment(String, Origin, List<Segment>) - Constructor for class org.trimou.engine.segment.SectionSegment
-
- Segment - Interface in org.trimou.engine.segment
-
Compiled template segment.
- SegmentType - Enum in org.trimou.engine.segment
-
Type of segment.
- select(Options) - Method in class org.trimou.handlebars.AlternativesHelper.ConditionSelector
-
- select(Options) - Method in class org.trimou.handlebars.AlternativesHelper.MaxSelector
-
- select(Options) - Method in class org.trimou.handlebars.AlternativesHelper.MinSelector
-
- select(Options) - Method in interface org.trimou.handlebars.AlternativesHelper.Selector
-
- SequenceIdentifierGenerator - Class in org.trimou.engine.id
-
- SequenceIdentifierGenerator() - Constructor for class org.trimou.engine.id.SequenceIdentifierGenerator
-
- SET - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- setAppendTemplateInfo(boolean) - Method in class org.trimou.handlebars.LogHelper.Builder
-
If true, a template name and helper line will be appended to each log
message.
- setClassLoader(ClassLoader) - Method in class org.trimou.engine.locator.ClassPathTemplateLocator.Builder
-
If not set, use the TCCL or the CL of this class.
- setComputingCacheFactory(ComputingCacheFactory) - Method in class org.trimou.engine.MustacheEngineBuilder
-
- setConfigurationExtensionClassLoader(ClassLoader) - Method in class org.trimou.engine.MustacheEngineBuilder
-
- setContextObject(Object) - Method in interface org.trimou.engine.context.ExecutionContext
-
- setDefaultLevel(LogHelper.Level) - Method in class org.trimou.handlebars.LogHelper.Builder
-
- setDefiningSections(Iterable<Segment>) - Method in interface org.trimou.engine.context.ExecutionContext
-
Associate the given defining sections with the context, but only if no
defining section with the same name is already associated.
- SetDelimitersSegment - Class in org.trimou.engine.segment
-
Set the new tag delimiters.
- SetDelimitersSegment(String, Origin) - Constructor for class org.trimou.engine.segment.SetDelimitersSegment
-
- setExecutorService(ExecutorService) - Method in class org.trimou.engine.MustacheEngineBuilder
-
- SetHelper - Class in org.trimou.handlebars
-
- SetHelper() - Constructor for class org.trimou.handlebars.SetHelper
-
- setIdentifierGenerator(IdentifierGenerator) - Method in class org.trimou.engine.MustacheEngineBuilder
-
- setKeySplitter(KeySplitter) - Method in class org.trimou.engine.MustacheEngineBuilder
-
- setLiteralSupport(LiteralSupport) - Method in class org.trimou.engine.MustacheEngineBuilder
-
- setLocaleSupport(LocaleSupport) - Method in class org.trimou.engine.MustacheEngineBuilder
-
Sets a locale support instance.
- setLoggerAdapter(LogHelper.LoggerAdapter) - Method in class org.trimou.handlebars.LogHelper.Builder
-
If not set, a default adapter is used.
- setMatchingNames(String...) - Method in class org.trimou.engine.resolver.TransformResolver
-
- setMissingValueHandler(MissingValueHandler) - Method in class org.trimou.engine.MustacheEngineBuilder
-
- setMustacheContents(Reader) - Method in interface org.trimou.engine.listener.MustacheParsingEvent
-
- setPriority(int) - Method in class org.trimou.engine.locator.ClassPathTemplateLocator.Builder
-
- setPriority(int) - Method in class org.trimou.engine.locator.FileSystemTemplateLocator.Builder
-
- setProperty(String, Object) - Method in class org.trimou.engine.MustacheEngineBuilder
-
Sets a configuration property.
- setProperty(T, Object) - Method in class org.trimou.engine.MustacheEngineBuilder
-
Sets a configuration property.
- setRootPath(String) - Method in class org.trimou.engine.locator.ClassPathTemplateLocator.Builder
-
If not set, no templates will be available for precompilation.
- setRootPath(String) - Method in class org.trimou.engine.locator.FileSystemTemplateLocator.Builder
-
- setScanClasspath(boolean) - Method in class org.trimou.engine.locator.ClassPathTemplateLocator.Builder
-
If set to true
the locator will attempt to scan the
classpath to get all available template identifiers.
- setSuffix(String) - Method in class org.trimou.engine.locator.ClassPathTemplateLocator.Builder
-
If not set, a full template name must be used.
- setSuffix(String) - Method in class org.trimou.engine.locator.FileSystemTemplateLocator.Builder
-
If not set, a full template name must be used.
- setTemplateInvocation(Template) - Method in interface org.trimou.engine.context.ExecutionContext
-
- setTextSupport(TextSupport) - Method in class org.trimou.engine.MustacheEngineBuilder
-
Sets a text support instance.
- SimpleConfigurationKey - Class in org.trimou.engine.config
-
- SimpleConfigurationKey(String, Object) - Constructor for class org.trimou.engine.config.SimpleConfigurationKey
-
- SimpleHelpers - Class in org.trimou.handlebars
-
Allows to create simple helpers using JDK8 funcional interfaces.
- SimpleHelpers.Builder - Class in org.trimou.handlebars
-
The builder is not thread-safe and should not be reused.
- SimpleLambdas - Class in org.trimou.lambda
-
Allows to create simple
Lambda
s using JDK8 functional interfaces.
- SimpleLambdas.Builder - Class in org.trimou.lambda
-
The builder is not thread-safe and should not be reused.
- SimpleStatsCollector - Class in org.trimou.engine.listener
-
- SimpleStatsCollector() - Constructor for class org.trimou.engine.listener.SimpleStatsCollector
-
- SimpleStatsCollector(Predicate<String>, TimeUnit) - Constructor for class org.trimou.engine.listener.SimpleStatsCollector
-
- SimpleStatsCollector.SimpleStats - Class in org.trimou.engine.listener
-
- singletonIterator(T) - Static method in class org.trimou.util.Iterables
-
- size() - Method in interface org.trimou.engine.cache.ComputingCache
-
The expired entries may be also counted, but will never be visible to
other read/write operations.
- size(Iterable<?>) - Static method in class org.trimou.util.Iterables
-
- SKIP_RESULT - Static variable in class org.trimou.handlebars.EachHelper
-
- SLASH - Static variable in class org.trimou.util.Strings
-
- Slf4jLoggerAdapter(String) - Constructor for class org.trimou.handlebars.LogHelper.Slf4jLoggerAdapter
-
- source(String) - Method in interface org.trimou.handlebars.Options
-
- SpecCompliantLambda - Class in org.trimou.lambda
-
- SpecCompliantLambda() - Constructor for class org.trimou.lambda.SpecCompliantLambda
-
- split(String) - Method in class org.trimou.engine.interpolation.BracketDotKeySplitter
-
- split(String) - Method in class org.trimou.engine.interpolation.DotKeySplitter
-
- split(String) - Method in interface org.trimou.engine.interpolation.KeySplitter
-
- split(String, String) - Static method in class org.trimou.util.Strings
-
- startTemplate(String, Delimiters, MustacheEngine) - Method in interface org.trimou.engine.parser.ParsingHandler
-
Parsing started.
- Stats(long, String, long, long, long, long, long, long) - Constructor for class org.trimou.engine.listener.AbstractStatsCollector.Stats
-
- Strings - Class in org.trimou.util
-
- Strings() - Constructor for class org.trimou.util.Strings
-
- stripSuffix(String) - Method in class org.trimou.engine.locator.PathTemplateLocator
-
- STYLE - Static variable in class org.trimou.handlebars.OptionsHashKeys
-
- substringAfter(String, String) - Static method in class org.trimou.util.Strings
-
- supportsHelpers(MustacheTagType) - Static method in enum org.trimou.engine.MustacheTagType
-
- SWITCH - Static variable in class org.trimou.handlebars.HelpersBuilder
-
- SwitchHelper - Class in org.trimou.handlebars
-
This helper works similarly as the Java switch statement.
- SwitchHelper() - Constructor for class org.trimou.handlebars.SwitchHelper
-
- SwitchHelper.CaseHelper - Class in org.trimou.handlebars
-
The first param is the matching value.
- SwitchHelper.DefaultHelper - Class in org.trimou.handlebars
-
- validate(HelperDefinition) - Method in class org.trimou.handlebars.AlternativesHelper
-
- validate(HelperDefinition) - Method in class org.trimou.handlebars.BasicHelper
-
- validate(HelperDefinition) - Method in class org.trimou.handlebars.CacheHelper
-
- validate(HelperDefinition) - Method in class org.trimou.handlebars.ChooseHelper
-
- validate(HelperDefinition) - Method in interface org.trimou.handlebars.Helper
-
Helper should validate the tag definition (e.g. number of parameters)
during compilation and fail fast if necessary.
- validate(HelperDefinition) - Method in class org.trimou.handlebars.InvokeHelper
-
- validate(HelperDefinition) - Method in class org.trimou.handlebars.NumericExpressionHelper
-
- validate(HelperDefinition) - Method in class org.trimou.handlebars.RepeatHelper
-
- validate(BiConsumer<HelperDefinition, Configuration>) - Method in class org.trimou.handlebars.SimpleHelpers.Builder
-
- validate(HelperDefinition) - Method in class org.trimou.handlebars.SwitchHelper
-
- Validateable - Interface in org.trimou.engine.validation
-
Represents a component which is able to validate itself.
- VALUE_TAG_TYPES - Static variable in class org.trimou.handlebars.BasicValueHelper
-
- ValueConverter - Interface in org.trimou.engine.convert
-
A value converter is used to convert an object to a string representation.
- valueNotAFormattableObject(Object, MustacheTagInfo) - Method in class org.trimou.handlebars.i18n.AbstractTimeFormatHelper
-
- valueOf(String) - Static method in enum org.trimou.engine.cache.DefaultComputingCacheFactory.MaxSizeStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.trimou.engine.cache.DefaultComputingCacheFactory.RemovalCause
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.trimou.engine.config.EngineConfigurationKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.trimou.engine.MustacheTagType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.trimou.engine.resolver.Placeholder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.trimou.engine.segment.SegmentType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.trimou.exception.MustacheProblem
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.trimou.handlebars.i18n.ResourceBundleHelper.Format
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.trimou.handlebars.LogHelper.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.trimou.handlebars.NumericExpressionHelper.Operator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.trimou.lambda.Lambda.InputType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.trimou.engine.cache.DefaultComputingCacheFactory.MaxSizeStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.trimou.engine.cache.DefaultComputingCacheFactory.RemovalCause
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.trimou.engine.config.EngineConfigurationKey
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.trimou.engine.MustacheTagType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.trimou.engine.resolver.Placeholder
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.trimou.engine.segment.SegmentType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.trimou.exception.MustacheProblem
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.trimou.handlebars.i18n.ResourceBundleHelper.Format
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.trimou.handlebars.LogHelper.Level
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.trimou.handlebars.NumericExpressionHelper.Operator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.trimou.lambda.Lambda.InputType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- ValueSegment - Class in org.trimou.engine.segment
-
Value segment (aka variable tag).
- ValueSegment(String, Origin, boolean) - Constructor for class org.trimou.engine.segment.ValueSegment
-
- ValueWrapper - Class in org.trimou.engine.context
-
Wrapper for the resolved value object and release callbacks.
- ValueWrapper(String) - Constructor for class org.trimou.engine.context.ValueWrapper
-
- VIRTUAL_PATH_SEPARATOR_KEY - Static variable in class org.trimou.engine.locator.PathTemplateLocator
-
Virtual path separator