org.araneaframework.backend.list.helper
Class VariableMapper
java.lang.Object
org.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableMapper
public VariableMapper(Map map)
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.