With the current code the only alternative to having a default constructor is to use a factory method to create instances of the class.

 - Dennis

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

Dennis,

You mean to say that to procedd with this version of JiBX I have to add
default constructor to all my files.
Is there any other way around?

Thanks
Deepak

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dennis
Sosnoski
Sent: Tuesday, March 07, 2006 5:18 PM
To: [email protected]
Subject: Re: [jibx-users] JAXB and Constructor


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


-------------------------------------------------------
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



-------------------------------------------------------
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