Hi Mocky,

Thank you for the response. Your response holds good as long as I have
control over the code which in my case is not and is from a third
party.

Also, I am not understanding why JiBX needs a no-argument constructor.
If it is not explicitly there in the class then by default we always
have one in java. Also according to the JiBX documentation, the no-arg
constructor is used only during unmarshalling in my case I am using
only to marshall and still the binding compiler complains with
exception "org.jibx.runtime.JiBXException: Need no-argument
constructor or factory for com.supz.Token". So in a nutshell if we
dont have control on the thirdy party code that provides object
instantiation not by using no-arg constructors then does it mean that
we cannot use JiBX.

Please correct me if my understanding is wrong.


Thanks & Regards,
Kr.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to