Class DefaultExpressionEvaluator
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.provider.impl.DefaultExpressionEvaluator
-
- All Implemented Interfaces:
ExpressionEvaluator
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class DefaultExpressionEvaluator extends java.lang.Object implements ExpressionEvaluator, org.springframework.context.ApplicationContextAware
SPEL expression evaluator
-
-
Constructor Summary
Constructors Constructor Description DefaultExpressionEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
evaluate(java.lang.String expression, java.lang.Object contex)
org.springframework.context.ApplicationContext
getApplicationContext()
org.springframework.expression.ExpressionParser
getParser()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
void
setParser(org.springframework.expression.ExpressionParser parser)
-
-
-
Method Detail
-
getParser
public org.springframework.expression.ExpressionParser getParser()
-
setParser
public void setParser(org.springframework.expression.ExpressionParser parser)
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-
evaluate
public java.lang.Object evaluate(java.lang.String expression, java.lang.Object contex)
- Specified by:
evaluate
in interfaceExpressionEvaluator
- Parameters:
expression
- the expression to evaluatecontex
- the contex that the expression will be evlauted from- Returns:
- Object value of the evaluated expression
-
-