XSD to Java, specify to use a Java HashMap

最后都变了- 提交于 2019-12-01 09:30:53
Zielu

Yes, maps are handled seamlessly by jaxb, but only in one way.

The solution is described here:

http://todayguesswhat.blogspot.co.uk/2012/09/jaxb-xsd-to-java-maphashmap-example.html

But it is a lot of hassle if you already have a class that maps correctly. Why do you want to regenerate it from XSD?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!