Files
spring-batch/src
Lorenz Leutgeb c7df668a31 Fix StaxEventItemReader example in docs
Problem:  When invoking xmlStaxEventItemReader.setUnmarshaller() one
          would get incompatible types as o.s.oxm.Marshaller cannot be
          converted to o.s.oxm.Unmarshaller.
Solution: Change type of marshaller to o.s.oxm.Unmarshaller.

Problem:  Changing the type of the marshaller variable to Unmarshaller
          would result in an unknown symbol setAliases() because
          Unmarshaller does not cover that method.
Solution: Just use the concrete type XStreamMarshaller.

Problem:  The variable name for our XStreamMarshaller which is used as
          Unmarshaller is called marshaller.
Solution: Rename the variable to unmarshaller.

See:
http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/oxm/xstream/XStreamMarshaller.html
http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/oxm/Unmarshaller.html
http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/oxm/Marshaller.html
2016-08-03 11:11:20 +02:00
..
2011-03-21 14:39:57 +00:00