org.thymeleaf.dialect
Interface IExpressionEnhancingDialect

All Superinterfaces:
IDialect

public interface IExpressionEnhancingDialect
extends IDialect

Feature-specifier interface for IDialect implementations.

Implementing this interface allows dialects to specify a series of objects that will be added to the context as utility objects during expression evaluations.

This means, for example, that a dialect could add a util object so that it could be used in OGNL or SpringEL expression evaluations like ${#util.doThis(obj)}.

Since:
2.0.12
Author:
Daniel Fernández

Method Summary
 Map<String,Object> getAdditionalExpressionObjects(IProcessingContext processingContext)
           Returns the objects that should be added to expression evaluation contexts.
 
Methods inherited from interface org.thymeleaf.dialect.IDialect
getDocTypeResolutionEntries, getDocTypeTranslations, getExecutionAttributes, getPrefix, getProcessors, isLenient
 

Method Detail

getAdditionalExpressionObjects

Map<String,Object> getAdditionalExpressionObjects(IProcessingContext processingContext)

Returns the objects that should be added to expression evaluation contexts.

This means, for example, that a dialect could add a util object so that it could be used in OGNL or SpringEL expression evaluations like ${#util.doThis(obj)}.

Parameters:
processingContext - the processing context on which the expression evaluation will be performed.
Returns:
the Map of objects to be added to the expression evaluation context.


Copyright © 2013 The THYMELEAF team. All Rights Reserved.