org.apache.shindig.gadgets.variables
Interface Substituter

All Known Implementing Classes:
BidiSubstituter, MessageSubstituter, ModuleSubstituter, UserPrefSubstituter

public interface Substituter

Substituter that provides variables to VariableSubstituter.

Since:
2.0.0

Method Summary
 void addSubstitutions(Substitutions substituter, GadgetContext context, GadgetSpec spec)
          Add the substitutions from this Substituter to the Substitutions.
 

Method Detail

addSubstitutions

void addSubstitutions(Substitutions substituter,
                      GadgetContext context,
                      GadgetSpec spec)
                      throws GadgetException
Add the substitutions from this Substituter to the Substitutions.

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.