public class OgnlExpressionParser extends AbstractExpressionParser
Constructor and Description |
---|
OgnlExpressionParser() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyAccessor(java.lang.Class clazz,
ognl.PropertyAccessor propertyAccessor)
Add a property access strategy for the given class.
|
protected Expression |
doParseExpression(java.lang.String expressionString,
ParserContext context) |
ConversionService |
getConversionService()
The conversion service to use to perform type conversions as needed by the OGNL system.
|
void |
setConversionService(ConversionService conversionService)
Sets the conversion service to use to perform type conversions as needed by the OGNL system.
|
getAllowDelimitedEvalExpressions, getExpressionPrefix, getExpressionSuffix, parseExpression, parseVariableExpressions, setAllowDelimitedEvalExpressions, setExpressionPrefix, setExpressionSuffix
public ConversionService getConversionService()
DefaultConversionService
.public void setConversionService(ConversionService conversionService)
conversionService
- the conversion service to usepublic void addPropertyAccessor(java.lang.Class clazz, ognl.PropertyAccessor propertyAccessor)
clazz
- the class that contains properties needing accesspropertyAccessor
- the property access strategyprotected Expression doParseExpression(java.lang.String expressionString, ParserContext context) throws ParserException
doParseExpression
in class AbstractExpressionParser
ParserException