org.springframework.richclient.convert.support
Class CollectionConverter
java.lang.Object
org.springframework.binding.convert.support.AbstractConverter
org.springframework.richclient.convert.support.CollectionConverter
- All Implemented Interfaces:
- org.springframework.binding.convert.Converter
public class CollectionConverter
- extends org.springframework.binding.convert.support.AbstractConverter
- implements org.springframework.binding.convert.Converter
This converter converts collection values from Object, Object[], Collection, List to Collection.class, List.class,
Object[].class types
- Author:
- Mathias Broekelmann
Methods inherited from class org.springframework.binding.convert.support.AbstractConverter |
convert, convert, convert, convert |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.binding.convert.Converter |
convert |
CollectionConverter
public CollectionConverter()
doConvert
protected Object doConvert(Object sourceValue,
Class targetClass,
org.springframework.binding.convert.ConversionContext context)
throws Exception
- Specified by:
doConvert
in class org.springframework.binding.convert.support.AbstractConverter
- Throws:
Exception
getSourceClasses
public Class[] getSourceClasses()
- Specified by:
getSourceClasses
in interface org.springframework.binding.convert.Converter
getTargetClasses
public Class[] getTargetClasses()
- Specified by:
getTargetClasses
in interface org.springframework.binding.convert.Converter
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.