Hi,

Firstly, being totally OT and fully apologizing in advance, I would like to
present my warmest greetings and best wishes for the coming year. Lots of
success, love, kiddies and chocolat fudge!

Secondly, I'm trying to take marshall an array list of the following class:

public class NameValue {
String name, value; // Accessors removed for shortness.
}

into:

<myarraylist>
    <name1>value1</name1>
    <name2>value2</name2>
</myarraylist>

Where:
 * name1 is the value of nameValue1.getName()
 * value1 is the value of nameValue1.getValue()
 * name2 is the value of nameValue2.getName()
 * value2 is the value of nameValue2.getValue()

I am using class descriptors and not an XML Mapping file.

Any clues ?

Cedric

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to