org.springframework.binding.expression.ognl
Class OgnlExpressionParser
java.lang.Object
org.springframework.binding.expression.support.AbstractExpressionParser
org.springframework.binding.expression.ognl.OgnlExpressionParser
- All Implemented Interfaces:
- ExpressionParser
- Direct Known Subclasses:
- WebFlowOgnlExpressionParser
public class OgnlExpressionParser
- extends AbstractExpressionParser
An expression parser that parses Ognl expressions.
- Author:
- Keith Donald
OgnlExpressionParser
public OgnlExpressionParser()
getConversionService
public ConversionService getConversionService()
- The conversion service to use to perform type conversions as needed by the OGNL system. If not specified, the
default is an instance of
DefaultConversionService
.
setConversionService
public void setConversionService(ConversionService conversionService)
- Sets the conversion service to use to perform type conversions as needed by the OGNL system.
- Parameters:
conversionService
- the conversion service to use
addPropertyAccessor
public void addPropertyAccessor(Class clazz,
ognl.PropertyAccessor propertyAccessor)
- Add a property access strategy for the given class.
- Parameters:
clazz
- the class that contains properties needing accesspropertyAccessor
- the property access strategy