Skip to main content

Posts

Showing posts with the label unmarshalling

What Is Marshalling and Unmarshalling?

Marshalling Marshalling provides a client application the ability to convert a JAXB-derived Java object tree back into XML data. By default, the Marshaller uses UTF-8 encoding when generating XML data. Client applications are not required to validate the Java content tree before marshalling. There is also no requirement that the Java content tree be valid with respect to its original schema to marshal it back into XML data. Unmarshalling Unmarshalling provides a client application the ability to convert XML data into JAXB-derived Java objects.