Creating a Taxonomic e-Science

org.cateproject.view.flow
Class BeanWrapperExpressionParser

java.lang.Object
  extended by org.springframework.binding.expression.support.AbstractExpressionParser
      extended by org.cateproject.view.flow.BeanWrapperExpressionParser
All Implemented Interfaces:
org.springframework.binding.expression.ExpressionParser

public class BeanWrapperExpressionParser
extends org.springframework.binding.expression.support.AbstractExpressionParser


Constructor Summary
BeanWrapperExpressionParser()
          Creates a new expression parser that uses a DefaultConversionService to perform type conversion.
BeanWrapperExpressionParser(org.springframework.binding.convert.service.GenericConversionService conversionService)
          Creates a new expression parser that uses the specified conversion service for type conversion.
 
Method Summary
protected  org.springframework.binding.expression.Expression doParseExpression(String expressionString, org.springframework.binding.expression.ParserContext context)
           
 org.springframework.binding.convert.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(org.springframework.binding.convert.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.
 
Methods inherited from class org.springframework.binding.expression.support.AbstractExpressionParser
getAllowDelimitedEvalExpressions, getExpressionPrefix, getExpressionSuffix, parseExpression, parseVariableExpressions, setAllowDelimitedEvalExpressions, setExpressionPrefix, setExpressionSuffix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanWrapperExpressionParser

public BeanWrapperExpressionParser()
Creates a new expression parser that uses a DefaultConversionService to perform type conversion.


BeanWrapperExpressionParser

public BeanWrapperExpressionParser(org.springframework.binding.convert.service.GenericConversionService conversionService)
Creates a new expression parser that uses the specified conversion service for type conversion.

Parameters:
conversionService - the conversion service to use
Method Detail

getConversionService

public org.springframework.binding.convert.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. The default if not specified is an instance of DefaultConversionService.


setConversionService

public void setConversionService(org.springframework.binding.convert.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.

Parameters:
conversionService - the conversion service

doParseExpression

protected org.springframework.binding.expression.Expression doParseExpression(String expressionString,
                                                                              org.springframework.binding.expression.ParserContext context)
                                                                       throws org.springframework.binding.expression.ParserException
Specified by:
doParseExpression in class org.springframework.binding.expression.support.AbstractExpressionParser
Throws:
org.springframework.binding.expression.ParserException

Creating a Taxonomic e-Science

Copyright © 2010. All Rights Reserved.