Problems with XMLEncode in place of standard serialization
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mark_Ratcliffe
Posted On:   Saturday, May 25, 2002 03:29 PM

When I Encode an object using XMLEncode everything seems to be OK except that my Vector objects do not appear in the XML. Do I need to do anything special?
My class to be "serialized" is a well formed bean with a default constructor and all the sets and gets of the attributes including methods for setting an attribute "Vector myVector" (in the form of setMyVector and getMyVector) but that doesn't seem to help.
Any advice will be gratefully received.
Thanks
Mark

Re: Problems with XMLEncode in place of standard serialization

Posted By:   Mark_Ratcliffe  
Posted On:   Monday, May 27, 2002 11:43 PM

The problem was with my underlying code. I now understand that XMLEncode works fine with Vectors!
About | Sitemap | Contact