org.kuali.rice.krad.datadictionary.parse
Class StringListConverter

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.parse.StringListConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.GenericConverter

public class StringListConverter
extends Object
implements org.springframework.core.convert.converter.GenericConverter

Converts a string configured in the dictionary for a list property type to a List object using the convention of commas to separate list entries

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.springframework.core.convert.converter.GenericConverter
org.springframework.core.convert.converter.GenericConverter.ConvertiblePair
 
Constructor Summary
StringListConverter()
           
 
Method Summary
 Object convert(Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
           
 Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringListConverter

public StringListConverter()
Method Detail

getConvertibleTypes

public Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()
Specified by:
getConvertibleTypes in interface org.springframework.core.convert.converter.GenericConverter

convert

public Object convert(Object source,
                      org.springframework.core.convert.TypeDescriptor sourceType,
                      org.springframework.core.convert.TypeDescriptor targetType)
Specified by:
convert in interface org.springframework.core.convert.converter.GenericConverter


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.