ECDefaultParameterEvaluaterImpl


Abstract

performs a simple parameter substiution based on an dictionary

Methods

-evaluateParameters:
Used to bind variables to a specific value.
-parameterValues
-removeAllVariables
removes all variables
-setParameterValues:
used to hand-off all parameters. The previously set of varaible values is being deleted with this call.
-setValue
sets/overwrites a value for a variable
-setValue:forVariable:
sets/overwrites a value for a variable

evaluateParameters:


Used to bind variables to a specific value.

- (NSDictionary *) evaluateParameters: (NSArray *) parameters;
method result
a dictionary mapping each parameter to a string value (NSString instance)
Discussion

This method is called when constructing strings of a ECParameterString. The evaluator has to return a dictionary which maps a parameter to a corresponding string


parameterValues


- (NSDictionary *) parameterValues;
method result
current set of variables and their valus

removeAllVariables


removes all variables

- removeAllVariables;

setParameterValues:


used to hand-off all parameters. The previously set of varaible values is being deleted with this call.

- setParameterValues: (NSDictionary *) dictionary;
method result
self

setValue


sets/overwrites a value for a variable

See Also:
setValue:forVariable:
- setValue: (NSString *) aValue forVariable: (NSString *) aVariable;
method result
self

setValue:forVariable:


sets/overwrites a value for a variable

See Also:
setValue
- setValue: (NSString *) aValue forVariable: (NSString *) aVariable;

(Last Updated November 08, 2007)