public class SpelExpressionParser extends TemplateAwareExpressionParser
Constructor and Description |
---|
SpelExpressionParser()
Create a parser with standard configuration.
|
SpelExpressionParser(SpelParserConfiguration configuration)
Create a parser with some configured behavior.
|
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 optionsprotected 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 parsingpublic SpelExpression parseRaw(String expressionString) throws ParseException
ParseException