Hi All,
I was after some advice on creating a generic marshaller/unmarshaller using
Jibx and specifically the BindFactory
Marshalling is fine as in this case I can take the passed in Object and call
getClass() for the BindFactory i.e
IBindingFactory fact = BindingDirectory. getFactory(obj.getClass());
For UnMarshalling, I don't know what the xml contains to know what Object Model
to create from it. For the different object models, there is going to be a
different bind file. Can multiple classes be registered?
Also Each time I want to marshal/unmarshal, do I need to do a BindingDirectory.
getFactory?
Any advice is welcome
Regards,
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users