org.thymeleaf.context
Class ProcessingContext
Object
org.thymeleaf.context.AbstractProcessingContext
org.thymeleaf.context.ProcessingContext
- All Implemented Interfaces:
- IProcessingContext
public class ProcessingContext
- extends AbstractProcessingContext
Basic implementation of AbstractProcessingContext
.
- Since:
- 2.0.9
- Author:
- Daniel Fernández
Methods inherited from class org.thymeleaf.context.AbstractProcessingContext |
computeExpressionObjects, 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 |
ProcessingContext
public ProcessingContext(IContext context)
ProcessingContext
public ProcessingContext(IContext context,
Map<String,Object> localVariables)
ProcessingContext
public ProcessingContext(IContext context,
Map<String,Object> localVariables,
Object selectionTarget,
boolean selectionTargetSet)
ProcessingContext
public ProcessingContext(IProcessingContext processingContext)
addLocalVariables
public ProcessingContext addLocalVariables(Map<String,Object> newVariables)
Creates a new ProcessingContext object by adding some new local variables
to the existing map (the rest of the attributes are copied verbatim).
- Parameters:
newVariables
- the new variables
- Returns:
- the new Arguments object
setSelectionTarget
public ProcessingContext setSelectionTarget(Object selectionTargetObject)
Creates a new Arguments object by setting a selection target into the processing
context, so that selection expressions are executed on it from then on.
- Parameters:
selectionTargetObject
- the selection target object to be set.
- Returns:
- the new ProcessingContext object
Copyright © 2013 The THYMELEAF team. All Rights Reserved.