Skip to content

Commit da707c1

Browse files
committed
Update Javadoc
Issue: SPR-13530
1 parent b7b8d85 commit da707c1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

spring-web/src/main/java/org/springframework/http/converter/xml/Jaxb2RootElementHttpMessageConverter.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,22 @@
4747
import org.springframework.util.ClassUtils;
4848

4949
/**
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.
5252
*
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.
5560
*
5661
* @author Arjen Poutsma
5762
* @author Sebastien Deleuze
5863
* @author Rossen Stoyanchev
5964
* @since 3.0
65+
* @see MarshallingHttpMessageConverter
6066
*/
6167
public class Jaxb2RootElementHttpMessageConverter extends AbstractJaxb2HttpMessageConverter<Object> {
6268

0 commit comments

Comments
 (0)