org.thymeleaf.context
Class AbstractDialectAwareProcessingContext

Object
  extended by org.thymeleaf.context.AbstractProcessingContext
      extended by org.thymeleaf.context.AbstractDialectAwareProcessingContext
All Implemented Interfaces:
IProcessingContext
Direct Known Subclasses:
Arguments, DialectAwareProcessingContext

public abstract class AbstractDialectAwareProcessingContext
extends AbstractProcessingContext

Specific abstract superclass for implementations of IProcessingContext that are able to add extra expression utility objects to expression evaluations if any of the configured IDialects implement IExpressionEnhancingDialect.

Since:
2.0.12
Author:
Daniel Fernández

Field Summary
 
Fields inherited from class org.thymeleaf.context.AbstractProcessingContext
EVAL_SELECTION_TARGET_LOCAL_VARIABLE_NAME
 
Constructor Summary
AbstractDialectAwareProcessingContext(IContext context, Collection<? extends IDialect> dialects)
           
AbstractDialectAwareProcessingContext(IContext context, Map<String,Object> localVariables, Collection<? extends IDialect> dialects)
           
AbstractDialectAwareProcessingContext(IContext context, Map<String,Object> localVariables, Object selectionTarget, boolean selectionTargetSet, Collection<? extends IDialect> dialects)
           
 
Method Summary
protected  Map<String,Object> computeExpressionObjects()
           
protected  Set<IExpressionEnhancingDialect> getExpressionEnhancingDialects()
           
 
Methods inherited from class org.thymeleaf.context.AbstractProcessingContext
getBaseContextVariables, getContext, getExpressionEvaluationRoot, getExpressionObjects, getExpressionSelectionEvaluationRoot, getLocalVariable, getLocalVariables, getSelectionTarget, hasLocalVariable, hasLocalVariables, hasSelectionTarget, mergeNewLocalVariables, unsafeGetLocalVariables
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDialectAwareProcessingContext

public AbstractDialectAwareProcessingContext(IContext context,
                                             Collection<? extends IDialect> dialects)

AbstractDialectAwareProcessingContext

public AbstractDialectAwareProcessingContext(IContext context,
                                             Map<String,Object> localVariables,
                                             Collection<? extends IDialect> dialects)

AbstractDialectAwareProcessingContext

public AbstractDialectAwareProcessingContext(IContext context,
                                             Map<String,Object> localVariables,
                                             Object selectionTarget,
                                             boolean selectionTargetSet,
                                             Collection<? extends IDialect> dialects)
Method Detail

getExpressionEnhancingDialects

protected Set<IExpressionEnhancingDialect> getExpressionEnhancingDialects()

computeExpressionObjects

protected Map<String,Object> computeExpressionObjects()
Overrides:
computeExpressionObjects in class AbstractProcessingContext


Copyright © 2013 The THYMELEAF team. All Rights Reserved.