public class ProcessingContext extends AbstractProcessingContext
Basic implementation of AbstractProcessingContext.
EVAL_SELECTION_TARGET_LOCAL_VARIABLE_NAME| Constructor and Description |
|---|
ProcessingContext(IContext context) |
ProcessingContext(IContext context,
Map<String,Object> localVariables) |
ProcessingContext(IContext context,
Map<String,Object> localVariables,
Object selectionTarget,
boolean selectionTargetSet) |
ProcessingContext(IProcessingContext processingContext) |
| Modifier and Type | Method and Description |
|---|---|
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).
|
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.
|
computeExpressionObjects, getContext, getExpressionEvaluationRoot, getExpressionObjects, getExpressionSelectionEvaluationRoot, getLocalVariable, getLocalVariables, getSelectionTarget, hasLocalVariable, hasLocalVariables, hasSelectionTarget, mergeNewLocalVariablespublic ProcessingContext(IContext context)
public ProcessingContext(IContext context, Map<String,Object> localVariables, Object selectionTarget, boolean selectionTargetSet)
public ProcessingContext(IProcessingContext processingContext)
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).
newVariables - the new variablespublic 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.
selectionTargetObject - the selection target object to be set.Copyright © 2014 The THYMELEAF team. All rights reserved.