Class StringMapConverter
java.lang.Object
org.kuali.rice.krad.datadictionary.parse.StringMapConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.GenericConverter
public class StringMapConverter
extends Object
implements org.springframework.core.convert.converter.GenericConverter
Converts a string configured in the dictionary for a map property type to a Map
object using the convention of commas to separate map entries and a colon to separate
the key value pair
- 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
Constructors -
Method Summary
-
Constructor Details
-
StringMapConverter
public StringMapConverter()
-
-
Method Details
-
getConvertibleTypes
public Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()- Specified by:
getConvertibleTypesin interfaceorg.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:
convertin interfaceorg.springframework.core.convert.converter.GenericConverter
-