| org.springframework.binding.convert.support.ConversionServiceAwareConverter org.springframework.binding.method.TextToMethodSignature
TextToMethodSignature | public class TextToMethodSignature extends ConversionServiceAwareConverter (Code) | | Converter that takes an encoded string representation and produces a
corresponding MethodSignature object.
This converter supports the following encoded forms:
- "methodName" - the name of the method to invoke, where the method is
expected to have no arguments.
- "methodName(param1Type param1Name, paramNType paramNName)" - the name of
the method to invoke, where the method is expected to have parameters
delimited by a comma. In this example, the method has two parameters. The
type is either the fully-qualified class of the argument OR a known type
alias OR left out althogether. The name is the logical name of the argument,
which is used during data binding to retrieve the argument value
(typically an expression).
See Also: MethodSignature author: Keith Donald author: Erwin Vervaet |
TextToMethodSignature | public TextToMethodSignature()(Code) | | Create a new converter that converts strings to MethodSignature objects.
|
TextToMethodSignature | public TextToMethodSignature(ConversionService conversionService)(Code) | | Create a new converter that converts strings to MethodSignature objects.
Parameters: conversionService - the conversion service to use |
getSourceClasses | public Class[] getSourceClasses()(Code) | | |
getTargetClasses | public Class[] getTargetClasses()(Code) | | |
|
|