* @return The string after replacements.
*/
public static String format(final String text, final Map values) {
final NamedPlaceHolderReplacer replacer = new NamedPlaceHolderReplacer();
replacer.setValues(values);
return replacer.execute(text);
}
/**
* Accepts a plain string escaping various characters so that the given
* string is html encoded.