根据 xsd 生成 jaxb java 类
生活随笔
收集整理的這篇文章主要介紹了
根据 xsd 生成 jaxb java 类
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
根據 xsd 生成 jaxb java 類
dos 窗口,執行命令:
xjc -p com.shagri.veg.things.marshal.pesticide E:\vpst\xsd\pesticide.xsd -d E:\vpst\將根據?E:\vpst\xsd\pesticide.xsd 在?E:\vpst\ 下生成包名為?com.shagri.veg.things.marshal.pesticide 的 java 文件,執行過程如下:
C:\Documents and Settings\admin>xjc -p com.shagri.veg.things.marshal.pesticide E:\vpst\xsd\pesticide.xsd -d E:\vpst\ parsing a schema... compiling a schema... com\shagri\veg\things\marshal\pesticide\ObjectFactory.java com\shagri\veg\things\marshal\pesticide\PesticideList.java com\shagri\veg\things\marshal\pesticide\PesticideType.java?
轉載于:https://www.cnblogs.com/zhiqsyr/p/4992190.html
總結
以上是生活随笔為你收集整理的根据 xsd 生成 jaxb java 类的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: iOS开篇——UI之UITextFiel
- 下一篇: git tag