Generating XML from classes using java

I asked this question before:

Generate XML from a class

I want to do this in Java

Can I perform the same operation on Java through properties?

Or whether there is a framework I can use for this purpose

Solution

XStream will allow you to represent any class as XML You can view here as an example

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>