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(java.lang.String expressionString,
ParserContext context)
Actually parse the expression string and return an Expression object.
|
SpelExpression |
parseRaw(java.lang.String expressionString) |
parseExpression, parseExpression
public SpelExpressionParser()
public SpelExpressionParser(SpelParserConfiguration configuration)
configuration
- custom configuration optionspublic SpelExpression parseRaw(java.lang.String expressionString) throws ParseException
ParseException
protected SpelExpression doParseExpression(java.lang.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