Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Marshalling From XML to Object

 
Isaac Ferguson
Ranch Hand
Posts: 846
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am trying from a XML create an object with the same fields and add the content inside the object. My code is like:



I think this makes not sense because I should passthe XML. But I am confuse.

Also what is the real difference between marshalling and unmarshalling

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic