Class ParsingElContext
- java.lang.Object
-
- org.flowable.common.engine.impl.javax.el.ELContext
-
- org.flowable.common.engine.impl.el.ParsingElContext
-
public class ParsingElContext extends ELContext
Simple implementation of theELContextused during parsings. Currently this implementation does nothing, but a non-null implementation of theELContextinterface is required by theExpressionFactorywhen create value- and methodexpressions.- Author:
- Joram Barrez
- See Also:
ExpressionManager.createExpression(String)
-
-
Field Summary
Fields Modifier and Type Field Description protected BiFunction<String,String,FlowableFunctionDelegate>functionResolver
-
Constructor Summary
Constructors Constructor Description ParsingElContext(BiFunction<String,String,FlowableFunctionDelegate> functionResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ELResolvergetELResolver()Retrieves the ELResolver associated with this context.FunctionMappergetFunctionMapper()Retrieves the FunctionMapper associated with this ELContext.VariableMappergetVariableMapper()Retrieves the VariableMapper associated with this ELContext.-
Methods inherited from class org.flowable.common.engine.impl.javax.el.ELContext
getContext, getLocale, isPropertyResolved, putContext, setLocale, setPropertyResolved
-
-
-
-
Field Detail
-
functionResolver
protected BiFunction<String,String,FlowableFunctionDelegate> functionResolver
-
-
Constructor Detail
-
ParsingElContext
public ParsingElContext(BiFunction<String,String,FlowableFunctionDelegate> functionResolver)
-
-
Method Detail
-
getELResolver
public ELResolver getELResolver()
Description copied from class:ELContextRetrieves the ELResolver associated with this context. The ELContext maintains a reference to the ELResolver that will be consulted to resolve variables and properties during an expression evaluation. This method retrieves the reference to the resolver. Once an ELContext is constructed, the reference to the ELResolver associated with the context cannot be changed.- Specified by:
getELResolverin classELContext- Returns:
- The resolver to be consulted for variable and property resolution during expression evaluation.
-
getFunctionMapper
public FunctionMapper getFunctionMapper()
Description copied from class:ELContextRetrieves the FunctionMapper associated with this ELContext.- Specified by:
getFunctionMapperin classELContext- Returns:
- The function mapper to be consulted for the resolution of EL functions.
-
getVariableMapper
public VariableMapper getVariableMapper()
Description copied from class:ELContextRetrieves the VariableMapper associated with this ELContext.- Specified by:
getVariableMapperin classELContext- Returns:
- The variable mapper to be consulted for the resolution of EL variables.
-
-