play.data.binding
Class Binder
java.lang.Object
play.data.binding.Binder
public class Binder
- extends java.lang.Object
The binder try to convert String values to Java objects.
Method Summary |
static java.lang.Object |
bind(java.lang.Object o,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.String[]> params)
|
static java.lang.Object |
bind(java.lang.String name,
java.lang.Class<?> clazz,
java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations,
java.util.Map<java.lang.String,java.lang.String[]> params)
|
static java.lang.Object |
bind(java.lang.String name,
java.lang.Class<?> clazz,
java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.lang.Object o,
java.lang.reflect.Method method,
int parameterIndex)
|
static boolean |
contains(java.lang.String[] profiles,
java.lang.String[] localProfiles)
|
static java.lang.Object |
directBind(java.lang.String name,
java.lang.annotation.Annotation[] annotations,
java.lang.String value,
java.lang.Class<?> clazz)
|
static java.lang.Object |
directBind(java.lang.String value,
java.lang.Class<?> clazz)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MISSING
public static final java.lang.Object MISSING
NO_BINDING
public static final java.lang.Object NO_BINDING
Binder
public Binder()
contains
public static boolean contains(java.lang.String[] profiles,
java.lang.String[] localProfiles)
bind
public static java.lang.Object bind(java.lang.Object o,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.String[]> params)
bind
public static java.lang.Object bind(java.lang.String name,
java.lang.Class<?> clazz,
java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations,
java.util.Map<java.lang.String,java.lang.String[]> params)
bind
public static java.lang.Object bind(java.lang.String name,
java.lang.Class<?> clazz,
java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.lang.Object o,
java.lang.reflect.Method method,
int parameterIndex)
directBind
public static java.lang.Object directBind(java.lang.String value,
java.lang.Class<?> clazz)
throws java.lang.Exception
- Throws:
java.lang.Exception
directBind
public static java.lang.Object directBind(java.lang.String name,
java.lang.annotation.Annotation[] annotations,
java.lang.String value,
java.lang.Class<?> clazz)
throws java.lang.Exception
- Throws:
java.lang.Exception
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly