| java.lang.Object org.springframework.binding.convert.support.AbstractConverter org.springframework.binding.convert.support.ConversionServiceAwareConverter
All known Subclasses: org.springframework.binding.convert.support.TextToClass, org.springframework.binding.method.TextToMethodSignature, org.springframework.webflow.engine.builder.TextToViewSelector,
ConversionServiceAwareConverter | abstract public class ConversionServiceAwareConverter extends AbstractConverter implements ConversionServiceAware(Code) | | Base class for converters that use other converters to convert things, thus
they are conversion-service aware.
author: Keith Donald |
ConversionServiceAwareConverter | protected ConversionServiceAwareConverter(ConversionService conversionService)(Code) | | Create a converter using given conversion service.
|
converterFor | protected ConversionExecutor converterFor(Class sourceClass, Class targetClass)(Code) | | Returns a conversion executor capable of converting objects from one
class to another.
Parameters: sourceClass - the source class to convert from Parameters: targetClass - the target class to convert to the conversion executor, never null |
fromStringTo | protected ConversionExecutor fromStringTo(Class targetClass)(Code) | | Returns a conversion executor capable of converting string objects to the
specified target class.
Parameters: targetClass - the target class the conversion executor, never null |
fromStringToAliased | protected ConversionExecutor fromStringToAliased(String targetAlias)(Code) | | Returns a conversion executor capable of converting string objects to the
target class aliased by the provided alias.
Parameters: targetAlias - the target class alias, e.g "long" or "float" the conversion executor, or null if no suitableconverter exists for alias |
parseExpression | protected Expression parseExpression(String expressionString)(Code) | | Helper that parsers the given expression string into an expression, using
the installed String->Expression converter.
Parameters: expressionString - the expression string to parse the parsed, evaluatable expression |
|
|