Venkatesh-

Yes, you can unmarshal a List. Are you using a mapping file or are you letting Castor introspect the class? With a mapping file it is fairly easy to declare a field as collection="list" and Castor usually handles that fine. If you have a specific exception and an example XML file, that would be helpful in diagnosing the problem.

Stephen


venkatesh babu wrote:
Hi,
I have a problem of unmarshalling, In my class one member variable (List list) is there, in my xml i am getting some arraylist of objects and try to set it in the list, will it be possible, or i have to do any changes in the properties file. Class Test
{
    List list;
public void setList(List list){
        this.list = list;
    }
public List getList(){
        return this.list
    }
} Thanks,
Venkatesh
                

_____________________________________________________________________
*FREE Emoticons for your email! **_Click Here!_* <http://www.incredimail.com/index.asp?id=96318>

------------------------------------------------------------------------
Start your day with Yahoo! - make it your home page <http://us.rd.yahoo.com/evt=34442/*http://www.yahoo.com/r/hs>

-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to