Interface BroadleafExpressionParser
- All Known Implementing Classes:
BroadleafExpressionParserImpl
public interface BroadleafExpressionParser
This component provides an expression parser, most typically for SPEL expressions.
- Author:
- Nick Crum ncrum
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionparseExpression
(String expressionString, Map<String, Object> context) Parses the given expression string with the given context and returns the parsed result string.<T> T
Parses the given expression string with the given context and returns the parsed result with the target type.
-
Method Details
-
parseExpression
Parses the given expression string with the given context and returns the parsed result string.- Parameters:
expressionString
- the expression stringcontext
- the context- Returns:
- the parsed expression result
-
parseExpression
Parses the given expression string with the given context and returns the parsed result with the target type.- Type Parameters:
T
- the generic type of the result- Parameters:
expressionString
- the expression stringcontext
- the contexttargetType
- the target type for the result- Returns:
- the parsed expression result
-