3.7. Converting a Java Object into an XML Document Instance
3.7.1. Problem
You have a Java object that you want to convert into an XML document.
3.7.2. Solution
Use the JAXB Marshaler class and invoke its static marshal method.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial