How to extend different XMLElement classes from different base class
I know one can use superClass (xjc extension) appinfo element inside global globalBindings element to extend all the JAXB generated classes from a single class. However, I have not found a way to extend JAXB generated classes from different base classes.
E.g Say in my XML I have PurchaseOrder and Item elements. I want to extend PurchaseOrder JAXB generated class from PorchaseOrderBase and Item JAXB generated class from ItemBase.
Is there any extension that can help me achieve this? This would be a very common usecase I would presume.
Thank you very much for your help.