public class SpelExpressionParser extends TemplateAwareExpressionParser
| 构造器和说明 |
|---|
SpelExpressionParser()
Create a parser with default settings.
|
SpelExpressionParser(SpelParserConfiguration configuration)
Create a parser with the specified configuration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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, @Nullable ParserContext context) throws ParseException
TemplateAwareExpressionParserdoParseExpression 在类中 TemplateAwareExpressionParserexpressionString - the raw expression string to parsecontext - a context for influencing this expression parsing routine (optional)ParseException - an exception occurred during parsing