Hi Deepak,

At present you do need a default constructor (or a factory-method) for the classes you use in your binding. It would actually be easy to add an option to have JiBX add the constructor when compiling the binding, and I'm willing to look at doing this for 1.1. If you'd like to see this, add an enhancement request in the Jira bug tracking system.

 - Dennis

Jairath, Deepak (Deepak)** CTR ** wrote:

Hi

I am a new JiBX user.
I have already existing Java files which i need to  XML data.
The problem I am facing is that my existing Java files does not have default
constructor.
Is that neccessary that I should a default no argument constructor in my
java file to use Jibx?

Thanks
Deepak


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to