Corrected CatchAllConverter ordering docs

Corrected documentation regarding the CatchAllConverter in the XStream
javadocs.
master
Arjen Poutsma 11 years ago
parent 4342497305
commit cf6cf18f1a
  1. 2
      spring-oxm/src/main/java/org/springframework/oxm/xstream/CatchAllConverter.java
  2. 2
      spring-oxm/src/main/java/org/springframework/oxm/xstream/XStreamMarshaller.java

@ -27,7 +27,7 @@ import com.thoughtworks.xstream.io.HierarchicalStreamWriter;
* (un)marshalling.
* <p>Main purpose of this class is to
* {@linkplain com.thoughtworks.xstream.XStream#registerConverter(com.thoughtworks.xstream.converters.Converter, int) register}
* this converter as a catchall last converter with a
* this converter as a catchall converter with a
* {@linkplain com.thoughtworks.xstream.XStream#PRIORITY_NORMAL normal}
* or higher priority, in addition to converters that explicitly support the domain
* classes that should be supported. As a result, default XStream converters with lower

@ -92,7 +92,7 @@ import org.springframework.util.xml.StaxUtils;
* {@code XStreamMarshaller} to unmarshal external XML, set the
* {@link #setSupportedClasses(Class[]) supportedClasses} and
* {@link #setConverters(ConverterMatcher[]) converters} properties (possibly using a
* {@link CatchAllConverter} as the last converter in the list) or override the
* {@link CatchAllConverter}) or override the
* {@link #customizeXStream(XStream)} method to make sure it only accepts the classes
* you want it to support.
*

Loading…
Cancel
Save