views:

67

answers:

0

Hi,

I created a custom type converter to create a class from a string. It works when I do this:

<constructor-arg type="MyType" value="value_to_convert"/>

but I also want to do something like this:

<list element-type="MyType">
    <object type="MyType" value="value_to_convert1"/>
    <object type="MyType" value="value_to_convert2"/>
</list>

This doesn't work, because there is no value attribute for the vanillaObject. Is there some special spring factory class, that would help out here?