xsd2java工具? [英] xsd2java tools?
本文介绍了xsd2java工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有用于在java类中转换xsd的工具?
我记得我使用了一个名为xsd2java但我不记得它在哪里。
Is there a tool for converting an xsd in java class? I remember that I used one called xsd2java but I don't remember where it is.
推荐答案
你可以使用XJC绑定编译器
You can use the XJC binding compiler
http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/2.0/jaxb/xjc.html
但它创建了带注释的jaxb兼容java对象。所以你必须删除jaxb的东西
But it creates jaxb compliant java objects with annotations. So you would have to remove the jaxb stuff
这篇关于xsd2java工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文