I have many xml files and I would like to use XStream to manage them. Is it possible to generate java classes corresponding to my xml files using XStream?
I think it's not possible using XStream but I've already done it using JAXB.
Basically, the steps are generating a xsd
from the xml files and then generating the Java
classes from the xsd.
Have a look at this tutorial:
http://theopentutorials.com/examples/java/jaxb/generate-java-class-from-xml-schema-using-jaxb-xjc-command/