jaxb doesn't generate enums with base integer

前端 未结 1 1925
失恋的感觉
失恋的感觉 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)
提交回复
热议问题