File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Marshalling From XML to Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Marshalling From XML to Object" Watch "Marshalling From XML to Object" New topic

Marshalling From XML to Object

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 752

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

I agree. Here's the link:
subject: Marshalling From XML to Object
It's not a secret anymore!