Shared class for child element in JAXB in different xmls/roots

前端 未结 2 800
感动是毒
感动是毒 2021-01-19 17:17

In JAXB when using automatic class generation via xjc from xsd scheme.

alpha.xsd



        
2条回答
  •  梦毁少年i
    2021-01-19 18:05

    If namespace of person from A will be equals namespace person from B, that xjc has to generate the correct classes.

提交回复
热议问题