Polymorphism in XSD schema and JAXB classes

前端 未结 4 778
忘掉有多难
忘掉有多难 2021-01-31 10:01

I have an xml like this:


    
    
    

        
4条回答
  •  梦谈多话
    2021-01-31 10:12

    Use xs:extension in your schema and your JAXB classes will be inherited (extended) as you define in your schema.

提交回复
热议问题