Packageorg.spicefactory.lib.expr
Interfacepublic interface VariableResolver
Implementors ChainedVariableResolver, DefaultVariableResolver

A VariableResolver is responsible for resolving the first (or sole) part of a value expression. Example: For the expression "${user.age}" a VariableResolver will be requested to resolve the variable "user". The age property will then be resolved by a PropertyResolver.



Public Methods
 MethodDefined By
  
resolveVariable(variableName:String):*
Resolves the variable with the specified name.
VariableResolver
Method Detail
resolveVariable()method
public function resolveVariable(variableName:String):*

Resolves the variable with the specified name. If the variable cannot be resolved this method should return undefined.

Parameters

variableName:String — the name of the variable to resolve

Returns
* — the value associated with the specified variable name or undefined if the variable cannot be resolved