public class BeanWrapperExpressionParser extends AbstractExpressionParser
| Constructor and Description |
|---|
BeanWrapperExpressionParser()
Creates a new expression parser that uses a
DefaultConversionService to perform type conversion. |
BeanWrapperExpressionParser(ConversionService conversionService)
Creates a new expression parser that uses the specified conversion service for type conversion.
|
| Modifier and Type | Method and Description |
|---|---|
protected Expression |
doParseExpression(java.lang.String expressionString,
ParserContext context) |
ConversionService |
getConversionService()
The conversion service to use to obtain
conversion executors that will be adapted to
property editors for use during a
set value call. |
void |
setConversionService(ConversionService conversionService)
Sets the conversion service to use to obtain
conversion executors that will be adapted
to property editors for use during a
set value call. |
getAllowDelimitedEvalExpressions, getExpressionPrefix, getExpressionSuffix, parseExpression, parseVariableExpressions, setAllowDelimitedEvalExpressions, setExpressionPrefix, setExpressionSuffixpublic BeanWrapperExpressionParser()
DefaultConversionService to perform type conversion.public BeanWrapperExpressionParser(ConversionService conversionService)
conversionService - the conversion service to usepublic ConversionService getConversionService()
conversion executors that will be adapted to
property editors for use during a
set value call. The default if not specified is an
instance of DefaultConversionService.public void setConversionService(ConversionService conversionService)
conversion executors that will be adapted
to property editors for use during a
set value call.conversionService - the conversion serviceprotected Expression doParseExpression(java.lang.String expressionString, ParserContext context) throws ParserException
doParseExpression in class AbstractExpressionParserParserException