File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
spring-web/src/main/java/org/springframework/http/converter/xml Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 47
47
import org .springframework .util .ClassUtils ;
48
48
49
49
/**
50
- * Implementation of {@link org.springframework.http.converter.HttpMessageConverter HttpMessageConverter}
51
- * that can read and write XML using JAXB2.
50
+ * Implementation of {@link org.springframework.http.converter.HttpMessageConverter
51
+ * HttpMessageConverter} that can read and write XML using JAXB2.
52
52
*
53
- * <p>This converter can read classes annotated with {@link XmlRootElement} and {@link XmlType},
54
- * and write classes annotated with with {@link XmlRootElement}, or subclasses thereof.
53
+ * <p>This converter can read classes annotated with {@link XmlRootElement} and
54
+ * {@link XmlType}, and write classes annotated with with {@link XmlRootElement},
55
+ * or subclasses thereof.
56
+ *
57
+ * <p>Note that if using Spring's Marshaller/Unmarshaller abstractions from the
58
+ * {@code spring-oxm} module you should can the
59
+ * {@link MarshallingHttpMessageConverter} instead.
55
60
*
56
61
* @author Arjen Poutsma
57
62
* @author Sebastien Deleuze
58
63
* @author Rossen Stoyanchev
59
64
* @since 3.0
65
+ * @see MarshallingHttpMessageConverter
60
66
*/
61
67
public class Jaxb2RootElementHttpMessageConverter extends AbstractJaxb2HttpMessageConverter <Object > {
62
68
You can’t perform that action at this time.
0 commit comments