• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

how to get XML from javaobject using JAXB

Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have java object and i need to get xml from it, we are using JAXB for unmarshal(java object to xml).we are generating JAXB object it has two methods named marshal and unmarshal.unmarshal is used to get java object from XML , how to call marshal to get xml from jaxb.that unmarshal method is taking Marshallaer as parameter, how can i pass Marshaller as Marshaller is private final class.
please help me out.
    Bookmark Topic Watch Topic
  • New Topic