类 SpelExpressionParser
java.lang.Object
cn.taketoday.expression.common.TemplateAwareExpressionParser
cn.taketoday.expression.spel.standard.SpelExpressionParser
- 所有已实现的接口:
ExpressionParser
SpEL parser. Instances are reusable and thread-safe.
- 从以下版本开始:
- 4.0
- 作者:
- Andy Clement, Juergen Hoeller
-
构造器概要
构造器构造器说明Create a parser with default settings.SpelExpressionParser(SpelParserConfiguration configuration) Create a parser with the specified configuration. -
方法概要
修饰符和类型方法说明protected SpelExpressiondoParseExpression(String expressionString, ParserContext context) Actually parse the expression string and return an Expression object.从类继承的方法 cn.taketoday.expression.common.TemplateAwareExpressionParser
parseExpression, parseExpression
-
构造器详细资料
-
SpelExpressionParser
public SpelExpressionParser()Create a parser with default settings. -
SpelExpressionParser
Create a parser with the specified configuration.- 参数:
configuration- custom configuration options
-
-
方法详细资料
-
parseRaw
- 抛出:
ParseException
-
doParseExpression
protected SpelExpression doParseExpression(String expressionString, @Nullable ParserContext context) throws ParseException 从类复制的说明:TemplateAwareExpressionParserActually parse the expression string and return an Expression object.- 指定者:
doParseExpression在类中TemplateAwareExpressionParser- 参数:
expressionString- the raw expression string to parsecontext- a context for influencing this expression parsing routine (optional)- 返回:
- an evaluator for the parsed expression
- 抛出:
ParseException- an exception occurred during parsing
-