org.codehaus.groovy.grails.web.metaclass
[Java] Class BindDynamicMethod
java.lang.Object
org.codehaus.groovy.grails.commons.metaclass.AbstractDynamicMethodInvocation
org.codehaus.groovy.grails.web.metaclass.BindDynamicMethod
public class BindDynamicMethod
extends AbstractDynamicMethodInvocation
A dynamic method present in controllers allowing data binding from a map to a target instance. Example:
def a = new Account()
bindData(a, params)
- Authors:
- Graeme Rocher
Method Summary |
java.lang.Object
|
invoke(java.lang.Object target, java.lang.String methodName, java.lang.Object[] arguments)
|
Methods inherited from class java.lang.Object
|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
METHOD_PATTERN
public static final java.util.regex.Pattern METHOD_PATTERN
-
METHOD_SIGNATURE
public static final java.lang.String METHOD_SIGNATURE
-
BindDynamicMethod
public BindDynamicMethod()
-
invoke
@Override
@SuppressWarnings("rawtypes")
public java.lang.Object invoke(java.lang.Object target, java.lang.String methodName, java.lang.Object[] arguments)
-
Groovy Documentation