public interface ReplacementsModule
The interface for the replacements system. The replacements system is
a simpler lighter weight option to proper templates. It can perform simple
search and replace functions, with possibly dynamic replace values. For
example, if you only need to add a name, or email address, or some other small
simple thing, in an otherwise static string, you can use the replacements
method instead of a full templating language. The only implementation
at the moment is DefaultReplacementsModule, but other implementations could
Replace the values in the given string using the given context.
The exact way the context is used depends on the implementation. It is
not necessarily used so that every occurrence of the key in the context
is replaced with the value.
value - The string in which replacements are to be done.