Is it possible to create your own constructors?
Gustavo.
***********************************************
Gustavo Cebrian
Analyst/Programmer
Want to improve the ROI on your EAI project?
Download RV Tester and reduce your development
and testing timescales by as much as 50%.
http://www.greenhatconsulting.com/rvtester
Green Hat Consulting Ltd.
107 Fleet Street, London EC4A 2AB
DDI +44 (0)20 7936 9495
Mobile +44 (0)7788 922291
http://www.greenhatconsulting.com
gustavo.cebrian_at_greenhatconsulting.com
***********************************************
-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: 23 June 2003 21:31
To: Gustavo Cebrian
Subject: Re: Creating XML files from relational data
> I guess you just need to read the data from the SQL statements, populate
> the object and marshal them.
Yes. And to populate objects you need to create them, and that's when
you need to call ObjectFactory methods.
ObjectFactory of = new ObjectFactory();
Foo foo = of.createFoo();
foo.setProperty1(abc);
foo.setProperty2(def);
...
--
Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>