You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Raghavan Srinivasan <ra...@iplanet.com> on 2001/12/16 12:17:06 UTC

writing serializers for complex objects

how would i write a serializer  for a complex object that looks
like......

class AddressHolder
{
     // this contains a list of Address objects
     HashMap addresses ;
     // .....

}

class Address
{
     getName()  ;
     getZip() ;
     .......
}

Does AddressHolderSerializer() have to iterate thru all Addresses and
call xjmr.marshall(......)  on each Address ?

-Raghavan