public class MessageSubstituter extends Object implements Substituter
| Constructor and Description |
|---|
MessageSubstituter(MessageBundleFactory messageBundleFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubstitutions(Substitutions substituter,
GadgetContext context,
GadgetSpec spec)
Add the substitutions from this Substituter to the
Substitutions. |
@Inject public MessageSubstituter(MessageBundleFactory messageBundleFactory)
public void addSubstitutions(Substitutions substituter, GadgetContext context, GadgetSpec spec) throws GadgetException
SubstituterSubstitutions.addSubstitutions in interface Substitutersubstituter - container for the new substitutions, containing any existing substitutionscontext - the context in which this gadget is being renderedspec - the gadget specification being substitutedGadgetException - when there has been a general error adding substitutionsCopyright © 2007-2012. All Rights Reserved.