Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Create XML from java object

 
Isaac DurĂ¡
Ranch Hand
Posts: 859
2
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am marshalling(creating XMl from java object)

The code is like this



I never have done this before. What should I expect from this? An XMl which is generated automatically without doing nothing or I have to create the XMl with the tag registrationOfficeCode?

Thanks

 
bala nannaka
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you can try this

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic