How to generate several versions of Java classes generated by JAXB ?

Posted by mica16 on Stack Overflow See other posts from Stack Overflow or by mica16
Published on 2010-03-26T16:00:35Z Indexed on 2010/03/26 16:03 UTC
Read the original article Hit count: 247

Filed under:
|
|
|

Hello,

I recently generate two versions of Java classes generated by JAXB. So I get two packages : V1_0 and V2_0

I notice that I have only one ObjectFactory generated. The problem is that this ObjectFactory is specific to a version (here it's specific to my version v1_0).

So the question is : Could I configure JAXB to allow to make one ObjectFactory for each version ?

Thanks a lot.

© Stack Overflow or respective owner

Related posts about jaxb

Related posts about objectfactory