Package | Description |
---|---|
org.springframework.context.expression |
Expression parsing support within a Spring application context.
|
org.springframework.expression |
Core abstractions behind the Spring Expression Language.
|
org.springframework.expression.common |
Common utility classes behind the Spring Expression Language.
|
org.springframework.expression.spel.standard |
SpEL's standard parser implementation.
|
Modifier and Type | Method and Description |
---|---|
protected Expression |
CachedExpressionEvaluator.getExpression(Map<CachedExpressionEvaluator.ExpressionKey,Expression> cache,
AnnotatedElementKey elementKey,
String expression)
Return the
Expression for the specified SpEL value |
protected Expression |
CachedExpressionEvaluator.parseExpression(String expression)
Parse the specified
expression . |
Modifier and Type | Method and Description |
---|---|
protected Expression |
CachedExpressionEvaluator.getExpression(Map<CachedExpressionEvaluator.ExpressionKey,Expression> cache,
AnnotatedElementKey elementKey,
String expression)
Return the
Expression for the specified SpEL value |
Modifier and Type | Method and Description |
---|---|
Expression |
ExpressionParser.parseExpression(String expressionString)
Parse the expression string and return an Expression object you can use for repeated evaluation.
|
Expression |
ExpressionParser.parseExpression(String expressionString,
ParserContext context)
Parse the expression string and return an Expression object you can use for repeated evaluation.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeStringExpression
Represents a template expression broken into pieces.
|
class |
LiteralExpression
A very simple hardcoded implementation of the Expression interface that represents a
string literal.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Expression |
TemplateAwareExpressionParser.doParseExpression(String expressionString,
ParserContext context)
Actually parse the expression string and return an Expression object.
|
Expression[] |
CompositeStringExpression.getExpressions() |
Expression |
TemplateAwareExpressionParser.parseExpression(String expressionString) |
Expression |
TemplateAwareExpressionParser.parseExpression(String expressionString,
ParserContext context) |
Constructor and Description |
---|
CompositeStringExpression(String expressionString,
Expression[] expressions) |
Modifier and Type | Class and Description |
---|---|
class |
SpelExpression
A
SpelExpression represents a parsed (valid) expression that is ready to be
evaluated in a specified context. |
Modifier and Type | Method and Description |
---|---|
static boolean |
SpelCompiler.compile(Expression expression)
Request that an attempt is made to compile the specified expression.
|
static void |
SpelCompiler.revertToInterpreted(Expression expression)
Request to revert to the interpreter for expression evaluation.
|