Code example for MarshallingView

Methods: setMarshaller

0
	 * @return Always returns an instance of {@link MappingJacksonJsonView}. 
	 */ 
	@Override 
	public View resolveViewName(String viewName, Locale locale) 
			throws Exception { 
		MarshallingView view = new MarshallingView(); 
		view.setMarshaller(marshaller); 
		return view; 
	} 
 
}