public static final class ExpressionUtil.ExpressionMethodResolver extends Object implements org.springframework.expression.MethodResolver
| Constructor and Description | 
|---|
| ExpressionUtil.ExpressionMethodResolver() | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | build(String prefix,
     String value,
     String suffix)If the given value is defined, return it with the given prefix and suffix. | 
| static String | get(String value,
   String def)If the given value is defined, it will be returned as-is. | 
| static String | ifDefined(String value)If the given value is defined, this method will return the given value as-is. | 
| static String | ifDefined(String value,
         String result)If the given value is defined, the value of the given result will be returned. | 
| static String | prefix(String prefix,
      String value)If the given value is defined, return it with the given prefix. | 
| org.springframework.expression.MethodExecutor | resolve(org.springframework.expression.EvaluationContext context,
       Object targetObject,
       String name,
       List<org.springframework.core.convert.TypeDescriptor> argumentTypes)Whenever a method call needs to be resolved, this method simply uses a
 a ReflectiveMethodResolver to resolve the methods on its own instance. | 
| static String | suffix(String value,
      String suffix)If the given value is defined, return it with the given suffix. | 
public ExpressionUtil.ExpressionMethodResolver()
public org.springframework.expression.MethodExecutor resolve(org.springframework.expression.EvaluationContext context,
                                                    Object targetObject,
                                                    String name,
                                                    List<org.springframework.core.convert.TypeDescriptor> argumentTypes)
                                                      throws org.springframework.expression.AccessException
resolve in interface org.springframework.expression.MethodResolverorg.springframework.expression.AccessExceptionpublic static final String ifDefined(String value)
value - public static final String ifDefined(String value, String result)
value - result - public static final String get(String value, String def)
value - def - public static final String prefix(String prefix, String value)
prefix - value - public static final String suffix(String value, String suffix)
suffix - value - Copyright © 2013. All rights reserved.