Topic: 如何根据javabean生成相应的XML

  Print this page

1.如何根据javabean生成相应的XML Copy to clipboard
Posted by: shawnma
Posted on: 2003-11-11 21:25

有没有什么工具可以根据已有的javabean生成相应XML,当然这个XML文件要遵从castor规范。

2.Re:如何根据javabean生成相应的XML [Re: shawnma] Copy to clipboard
Posted by: supermy
Posted on: 2003-11-14 18:02

应该是数据绑定
javabean<----->xml
jaxb

3.Re:如何根据javabean生成相应的XML [Re: shawnma] Copy to clipboard
Posted by: Azure_2002
Posted on: 2003-11-14 19:21

java.beans.XMLDecoder;//get a bean from an xmlfile
java.beans.XMLEncoder;//put a bean to an xmlfile

jaxb;

4.Re:如何根据javabean生成相应的XML [Re: shawnma] Copy to clipboard
Posted by: shawnma
Posted on: 2003-11-14 19:57

谢谢楼上两位


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923