java 使用jaxb 把xml 直接轉換爲ben

首先有一個xml 文件。 使用 trang-20091111.jar 把xml 文件轉化爲  .xsd 文件(jar 下載地址 : http://mvnrepository.com/artifact/com.thaiopensource/trang)       把 new.xml 生產 new.xsd 文件之後  使用如下命令就可生成相應的 bean 了。       注:這裏生產的文件編碼是
相關文章
相關標籤/搜索