/*---------------------------------------------------------------------------*\
$Id: 1786269f59d2cd9be5ab99ffaf0cc4e82fad9982 $
\*---------------------------------------------------------------------------*/
package org.clapper.util.text;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Map;
/**
/**
* The MultipleMapVariableDereferencer class implements the
* VariableDereferencer interface and resolves variable
* references by looking them up in one or more supplied Map
* objects.
*
* The keys and values in the supplied Map objects
* must be String objects.
*
* If more than one contained map has a value for a specific key, the
* first map's value will be used. ("First", in this case, means the first
* map added to the MultipleMapVariableDereference object.)
*
* @see VariableDereferencer
* @see VariableSubstituter
* @see MapVariableDereferencer
*
* @version $Revision: 6735 $
*
* @author Copyright © 2004-2007 Brian M. Clapper
*/
public class MultipleMapVariableDereferencer implements VariableDereferencer
{
/*----------------------------------------------------------------------*\
Private Constants
\*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*\
Private Instance Data
\*----------------------------------------------------------------------*/
private Collection
Ads help maintain this website.