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, parseExpressionpublic SpelExpressionParser()
public SpelExpressionParser(SpelParserConfiguration configuration)
configuration - custom configuration optionspublic SpelExpression parseRaw(String expressionString) throws ParseException
ParseExceptionprotected SpelExpression doParseExpression(String expressionString, ParserContext context) throws ParseException
TemplateAwareExpressionParserdoParseExpression in class TemplateAwareExpressionParserexpressionString - the raw expression string to parsecontext - a context for influencing this expression parsing routine (optional)ParseException - an exception occurred during parsing