List of usage examples for org.springframework.web.servlet.view.xml MarshallingView setMarshaller
public void setMarshaller(Marshaller marshaller)
From source file:com.work.petclinic.view.XmlViewResolver.java
@Override public View resolveViewName(String viewName, Locale locale) throws Exception { MarshallingView marshallingView = new MarshallingView(); marshallingView.setMarshaller(marshaller); return marshallingView; }