code: public ThymeleafEngineConfigBuilder<P> setDialects(final Set<IDialect> dialects) {
  		this.dialects().clear();
  		this.dialects().addAll(dialects);
  		return this;
  	}
docs: <p>
  Sets a new set of dialects for this template engine, all of them using
  their default prefixes.
  </p>
  <p>
  This operation can only be executed before processing templates for the
  first time. Once a template is processed, the template engine is
  considered to be <i>initialized</i>, and from then on any attempt to
  change its configuration will result in an exception.
  </p>
  
  @param dialects
  the new set of {@link IDialect} objects to be used.
  @return this for fluent use