java.lang.Object |
↳ |
org.springframework.expression.common.TemplateAwareExpressionParser |
Known Direct Subclasses
|
Class Overview
An expression parser that understands templates. It can be subclassed
by expression parsers that do not offer first class support for templating.
Public Constructors
public
TemplateAwareExpressionParser
()
Public Methods
public
Expression
parseExpression
(String expressionString)
Parse the expression string and return an Expression object you can use for repeated evaluation.
Some examples:
3 + 4
name.firstName
Parameters
expressionString
| the raw expression string to parse |
Returns
- an evaluator for the parsed expression
Parse the expression string and return an Expression object you can use for repeated evaluation.
Some examples:
3 + 4
name.firstName
Parameters
expressionString
| the raw expression string to parse |
context
| a context for influencing this expression parsing routine (optional) |
Returns
- an evaluator for the parsed expression
Protected Methods
protected
abstract
Expression
doParseExpression
(String expressionString, ParserContext context)
Actually parse the expression string and return an Expression object.
Parameters
expressionString
| the raw expression string to parse |
context
| a context for influencing this expression parsing routine (optional) |
Returns
- an evaluator for the parsed expression