org.araneaframework.backend.list.helper
Class VariableMapper

java.lang.Object
  extended byorg.araneaframework.backend.list.helper.VariableMapper
All Implemented Interfaces:
Serializable, VariableResolver

public class VariableMapper
extends Object
implements VariableResolver

VariableResolver that has a map of Variable names and their resolvable values.

See Also:
Serialized Form

Constructor Summary
VariableMapper(Map map)
           
 
Method Summary
 Object resolve(Variable variable)
          Resolves a Variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableMapper

public VariableMapper(Map map)
Method Detail

resolve

public Object resolve(Variable variable)
Description copied from interface: VariableResolver
Resolves a Variable.

Specified by:
resolve in interface VariableResolver
Parameters:
variable - a Variable to resolve.
Returns:
the result of resolving the Variable.