Interface ExpressionParser
- All Known Implementing Classes:
AbstractExpressionParser
,BeanWrapperExpressionParser
,ELExpressionParser
,FacesSpringELExpressionParser
,JsfManagedBeanAwareELExpressionParser
,SpringELExpressionParser
,WebFlowELExpressionParser
,WebFlowSpringELExpressionParser
public interface ExpressionParser
Parses expression strings into compiled expressions that can be evaluated. Supports parsing templates as well as
standard expression strings.
- Author:
- Keith Donald
-
Method Summary
Modifier and TypeMethodDescriptionparseExpression
(String expressionString, ParserContext context) Parse the expression string and return a compiled Expression object you can use for evaluation.
-
Method Details
-
parseExpression
Parse the expression string and return a compiled Expression object you can use for evaluation. Some examples:3 + 4 name.firstName
- Parameters:
expressionString
- the raw expression string to parsecontext
- a context for influencing this expression parsing routine (optional)- Returns:
- an evaluator for the parsed expression
- Throws:
ParserException
- an exception occurred during parsing
-