Java Ninja Chronicles By Norris Shelton

Things I learned in the pursuit of code

I needed to create an xml source object so I could force an unmarshaller to return a specific type of object.

Source source = new StreamSource(new StringReader(myString));

September 3rd, 2012

Posted In: Java, JAXB

Leave a Reply

Your email address will not be published. Required fields are marked *

WP to LinkedIn Auto Publish Powered By :