Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JAXB - Marshal to a String not to a File

843834Jan 31 2002 — edited Mar 15 2002
I have generate my java class and I've created a subclass of it. Now I want to marshall this class to an XML string not to a XML file. And also I want to unmarshall and XML string to an object of my class. How can I do this?

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2002
Added on Jan 31 2002
5 comments
360 views