@ -58,14 +60,18 @@ public class MarshallingView extends AbstractUrlBasedView {
@@ -58,14 +60,18 @@ public class MarshallingView extends AbstractUrlBasedView {
setContentType(DEFAULT_CONTENT_TYPE);
}
/** Constructs a new <code>MarshallingView</code> with the given {@link Marshaller} set. */
Assert.notNull(marshaller,"'marshaller' must not be null");
setContentType(DEFAULT_CONTENT_TYPE);
this.marshaller=marshaller;
}
/** Sets the {@link Marshaller} to be used by this view. */
/**
*Setsthe{@linkMarshaller}tobeusedbythisview.
*/
publicvoidsetMarshaller(Marshallermarshaller){
Assert.notNull(marshaller,"'marshaller' must not be null");
this.marshaller=marshaller;
@ -99,9 +105,7 @@ public class MarshallingView extends AbstractUrlBasedView {
@@ -99,9 +105,7 @@ public class MarshallingView extends AbstractUrlBasedView {