public class

SpelExpressionParser

extends TemplateAwareExpressionParser
java.lang.Object
   ↳ org.springframework.expression.common.TemplateAwareExpressionParser
     ↳ org.springframework.expression.spel.standard.SpelExpressionParser

Class Overview

SpEL parser. Instances are reusable and thread-safe.

Summary

Public Constructors
SpelExpressionParser()
Create a parser with standard configuration.
SpelExpressionParser(SpelParserConfiguration configuration)
Create a parser with some configured behavior.
Public Methods
SpelExpression parseRaw(String expressionString)
Protected Methods
SpelExpression doParseExpression(String expressionString, ParserContext context)
Actually parse the expression string and return an Expression object.
[Expand]
Inherited Methods
From class org.springframework.expression.common.TemplateAwareExpressionParser
From class java.lang.Object
From interface org.springframework.expression.ExpressionParser

Public Constructors

public SpelExpressionParser ()

Create a parser with standard configuration.

public SpelExpressionParser (SpelParserConfiguration configuration)

Create a parser with some configured behavior.

Parameters
configuration custom configuration options

Public Methods

public SpelExpression parseRaw (String expressionString)

Protected Methods

protected SpelExpression doParseExpression (String expressionString, ParserContext context)

Actually parse the expression string and return an Expression object.

Parameters
expressionString the raw expression string to parse
context a context for influencing this expression parsing routine (optional)
Returns
  • an evaluator for the parsed expression