Class Jaxb2RootElementHttpMessageConverter

All Implemented Interfaces:
HttpMessageConverter<Object>

public class Jaxb2RootElementHttpMessageConverter extends AbstractJaxb2HttpMessageConverter<Object>
Implementation of HttpMessageConverter that can read and write XML using JAXB2.

This converter can read classes annotated with XmlRootElement and XmlType, and write classes annotated with XmlRootElement, or subclasses thereof.

Note: When using Spring's Marshaller/Unmarshaller abstractions from spring-oxm, you should use the MarshallingHttpMessageConverter instead.

Since:
3.0
Author:
Arjen Poutsma, Sebastien Deleuze, Rossen Stoyanchev
See Also: