| java.lang.Object org.springframework.binding.method.Parameter
Parameter | public class Parameter (Code) | | A named method parameter. Each parameter has an identifying name and is of a
specified type (class).
author: Keith Donald |
Parameter | public Parameter(Class type, Expression name)(Code) | | Create a new named parameter definition. Named parameters are capable of resolving
parameter values (arguments) from argument sources.
Parameters: type - the parameter type, may be null Parameters: name - the name the method argument expression (required) |
evaluateArgument | public Object evaluateArgument(Object argumentSource, EvaluationContext context)(Code) | | Evaluate this method parameter against the provided argument source,
returning a single method argument value.
Parameters: argumentSource - the meyhod argument source Parameters: context - the evaluation context the method argument value |
getType | public Class getType()(Code) | | Returns the parameter type. Could be null if no parameter type
was specified.
|
hashCode | public int hashCode()(Code) | | |
|
|