public class SpelExpressionParser extends TemplateAwareExpressionParser
Constructor and Description |
---|
SpelExpressionParser()
Create a parser with default settings.
|
SpelExpressionParser(SpelParserConfiguration configuration)
Create a parser with the specified configuration.
|
Modifier and Type | Method and Description |
---|---|
protected SpelExpression |
doParseExpression(String expressionString,
ParserContext context)
Actually parse the expression string and return an Expression object.
|
SpelExpression |
parseRaw(String expressionString) |
parseExpression, parseExpression
public SpelExpressionParser()
public SpelExpressionParser(SpelParserConfiguration configuration)
configuration
- custom configuration optionspublic SpelExpression parseRaw(String expressionString) throws ParseException
ParseException
protected SpelExpression doParseExpression(String expressionString, ParserContext context) throws ParseException
TemplateAwareExpressionParser
doParseExpression
in class TemplateAwareExpressionParser
expressionString
- the raw expression string to parsecontext
- a context for influencing this expression parsing routine (optional)ParseException
- an exception occurred during parsing