org.apache.shindig.gadgets.variables
Class VariableSubstituter
java.lang.Object
org.apache.shindig.gadgets.variables.VariableSubstituter
public class VariableSubstituter
- extends Object
Performs variable substitution on a gadget spec.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableSubstituter
@Inject
public VariableSubstituter(List<Substituter> substituters)
substitute
public GadgetSpec substitute(GadgetContext context,
GadgetSpec spec)
throws GadgetException
- Substitutes all hangman variables into the gadget spec.
- Returns:
- A new GadgetSpec, with all fields substituted as needed.
- Throws:
GadgetException
Copyright © 2007-2012. All Rights Reserved.