One more followup question related to the Custom Converter I created.   It's 
more of a curiosity than anything, but when serializing a List object and the 
items of the list are strings, why is the element wrapper for each item set to 
"string" (all lower case)?  In my custom converter I am marshaling an object 
which contains a List as one of its fields, and because that List object might 
be null I'm marshaling the list as an empty list rather than excluding the 
element.  When the list does have items I'm setting the wrapper element to  
value.getClass().getSimpleName(), which for a list of Strings will return 
"String" (note the upper case 'S').  I just wondered what the rational was for 
using an all lowercase  representation of the object type.

Reply via email to