Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

marshalling and unmarshallin

 
Adinath Shirsath
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everyone,
is there any utility in java which can convert xml schema into class. so we can unmarshall xml file into the object
 
Marco Ehrentreich
best scout
Bartender
Posts: 1294
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Adinath,

first two other things: It's usually not a good idea to post the same questions to different forums because this means more work for all the others who want to help you.
And it's a bad idea, too, to explicitly tell everyone how urgent it is (even if it really is). This will at most help you to get no answer at all

For your actual problem you should take a look at JAXB. JAXB is a framework for XML and Java binding and can do exactly what you're looking for.

Marco
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also try XMLBeans.
http://xmlbeans.apache.org/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic