[英]Is it possible to autogenerate XSD from Java object?
I need to generate XSD file as descriptor of standard. 我需要生成XSD文件作为标准描述符。 Is it possible to autogenerate XSD from Java object?
是否可以从Java对象自动生成XSD? Of course automated util cannot make complete and fulyl accurate XSD file, but it woild be helpful.
当然,自动util无法制作完整且完整的XSD文件,但是它会有所帮助。 So is there any Java libraries for this purpose?
那么有没有为此目的的Java库?
Yes, off top of my head I can name JAXB and XMLBeans: 是的,我可以顶一下JAXB和XMLBeans:
http://www.oracle.com/technetwork/articles/javase/index-140168.html http://www.oracle.com/technetwork/articles/javase/index-140168.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.