code: public void setLayoutMappings(Map<String, String> layoutMappings) {
  		notNull(layoutMappings, "Layout mappings must not be null");
  
  		log.debug("Set view resolver layout mappings");
  
  		this.layoutMappings.clear();
  		for (Map.Entry<String, String> entry : layoutMappings.entrySet()) {
  			addLayoutMapping(entry.getKey(), entry.getValue());
  		}
  	}
docs: Replace current layout mappings by new mappings.
  
  @param layoutMappings New mappings.