jaxb doesn't generate enums with base integer

前端 未结 1 1915
失恋的感觉
失恋的感觉 2021-01-13 03:32

I have following xsd:


    
        

        
相关标签:
1条回答
  • 2021-01-13 04:09

    You can use an external binding file to get the behaviour that you are looking for:

    • JAXB enumeration with numeric values
    • http://blog.bdoughan.com/2011/08/jaxb-and-enums.html
    0 讨论(0)
提交回复
热议问题