com.waveset.util
Class VariableExpander.MapResolver

java.lang.Object
  extended bycom.waveset.util.VariableExpander.MapResolver
All Implemented Interfaces:
VariableResolver
Enclosing class:
VariableExpander

public static class VariableExpander.MapResolver
extends java.lang.Object
implements VariableResolver

A class that implements the VariableResolver interface, and looks up variables in a Map. Also allows pass through to another VariableResolver if a value wasn't found in the map.


Method Summary
 java.lang.Object resolveVariable(java.lang.String name)
          Resolve a variable referenced by name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resolveVariable

public java.lang.Object resolveVariable(java.lang.String name)
                                 throws WavesetException
Description copied from interface: VariableResolver
Resolve a variable referenced by name. Return null if this variable doesn't have a meaningful binding. Only throw an exception for unusual internal errors, lack of a binding is not an exception.

Specified by:
resolveVariable in interface VariableResolver
Throws:
WavesetException