org.apache.shindig.gadgets.variables
Class MessageSubstituter
java.lang.Object
org.apache.shindig.gadgets.variables.MessageSubstituter
- All Implemented Interfaces:
- Substituter
public class MessageSubstituter
- extends Object
- implements Substituter
Provides static hangman substitutions for message bundles.
- Since:
- 2.0.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageSubstituter
@Inject
public MessageSubstituter(MessageBundleFactory messageBundleFactory)
addSubstitutions
public void addSubstitutions(Substitutions substituter,
GadgetContext context,
GadgetSpec spec)
throws GadgetException
- Description copied from interface:
Substituter
- Add the substitutions from this Substituter to the
Substitutions.
- Specified by:
addSubstitutions in interface Substituter
- Parameters:
substituter - container for the new substitutions, containing any existing substitutionscontext - the context in which this gadget is being renderedspec - the gadget specification being substituted
- Throws:
GadgetException - when there has been a general error adding substitutions
Copyright © 2007-2012. All Rights Reserved.