0

I want to read an XML file into Java objects. Can XStream do this? I do not have a XML-Schema for my file. Can anyone suggest me any alternatives ?

user892871
  • 1,025
  • 3
  • 13
  • 28

1 Answers1

0

Yes, XStream can do that in short, but not as simply as xml in, object out. You'll have to construct the object that'll correspond to the xml's nodes/attributes.

A quick tutorial on XStream's website for doing so here.

JWiley
  • 3,129
  • 8
  • 41
  • 66