Class AttributeExpressionResolver
java.lang.Object
com.hybris.cockpitng.core.expression.impl.DefaultExpressionResolver
com.hybris.backoffice.cockpitng.dataaccess.facades.type.expression.AttributeExpressionResolver
- All Implemented Interfaces:
com.hybris.cockpitng.core.expression.ExpressionResolver
public class AttributeExpressionResolver
extends com.hybris.cockpitng.core.expression.impl.DefaultExpressionResolver
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeExpressionResolver(com.hybris.cockpitng.core.expression.EvaluationContextFactory contextFactory) -
Method Summary
Methods inherited from class com.hybris.cockpitng.core.expression.impl.DefaultExpressionResolver
createExpressionParser, getContextFactory, getExpressionParser, getValue, getValueType, getValueType, setExpressionParser, setValue, setValue
-
Constructor Details
-
AttributeExpressionResolver
public AttributeExpressionResolver(com.hybris.cockpitng.core.expression.EvaluationContextFactory contextFactory)
-
-
Method Details
-
getValue
public <T> T getValue(Object sourceObject, String expression, Map<String, Object> variables) throws org.springframework.expression.ExpressionException- Specified by:
getValuein interfacecom.hybris.cockpitng.core.expression.ExpressionResolver- Overrides:
getValuein classcom.hybris.cockpitng.core.expression.impl.DefaultExpressionResolver- Throws:
org.springframework.expression.ExpressionException
-
getItem
- Returns:
- item, which property was last read
-
getAttribute
- Returns:
- attribute of item, which value was last read
-
getValue
- Returns:
- value of last read property
-