BEA Systems, Inc.

com.beasys.commerce.foundation.expression
Class MapVariableFinder

java.lang.Object
  |
  +--com.beasys.commerce.foundation.expression.MapVariableFinder
All Implemented Interfaces:
VariableFinder

public class MapVariableFinder
extends java.lang.Object
implements VariableFinder

A VariableFinder which uses a Map.

Since:
3.2

Constructor Summary
MapVariableFinder(java.util.Map map)
          Constructor.
 
Method Summary
 java.util.Map getMap()
          Get the underlying map.
 java.lang.String getVariableValue(java.lang.String name)
          Return the value of the named variable, using the underlying map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapVariableFinder

public MapVariableFinder(java.util.Map map)
Constructor.
Method Detail

getMap

public java.util.Map getMap()
Get the underlying map.

getVariableValue

public java.lang.String getVariableValue(java.lang.String name)
Return the value of the named variable, using the underlying map.
Specified by:
getVariableValue in interface VariableFinder
Following copied from interface: com.beasys.commerce.foundation.expression.VariableFinder
Parameters:
name - the variable name.
Returns:
the value or null.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved