org.apache.shindig.gadgets.variables
Class ModuleSubstituter

java.lang.Object
  extended by org.apache.shindig.gadgets.variables.ModuleSubstituter
All Implemented Interfaces:
Substituter

public class ModuleSubstituter
extends Object
implements Substituter

Provides hangman substitution variables related to the Module (i.e. __MODULE_ID__)

Since:
2.0.0

Constructor Summary
ModuleSubstituter()
           
 
Method Summary
 void addSubstitutions(Substitutions substituter, GadgetContext context, GadgetSpec spec)
          Add the substitutions from this Substituter to the Substitutions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleSubstituter

public ModuleSubstituter()
Method Detail

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 substitutions
context - the context in which this gadget is being rendered
spec - the gadget specification being substituted
Throws:
GadgetException - when there has been a general error adding substitutions


Copyright © 2007-2012. All Rights Reserved.