Hi Christian, It's not possible in the general case to have the generated code go anywhere other than to the bound class. In particular, this is going to be true for classes that have concrete <mapping> definitions (which are required for the root elements/objects of your XML documents).
I think you can probably avoid modifying classes which *don't* have concrete <mapping> definitions if you're only using public fields and/or get/set methods to access the data, and the classes you're binding have public constructors. In this case the binding code will go into a generated "munge" class. You should be able to trigger this behavior by not giving the binding compiler write access to the class files for these classes, for instance by creating a jar file containing these classes and adding that to the binding compiler class path. - Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Christian Deliens N. wrote: > Hi, I have try JiBX for the past 2 weeks and it have work excellent > for my propouse. > I would like to know if it is possible to create the code that the > binding compiler adds to the class you are trying to bind, in another > class apart, I would like to do this because of the architecture of > the system Im working on. Is it possible to do this? maybe trought the > and build file..?? > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users