play.data.binding
Class BeanWrapper
java.lang.Object
play.data.binding.BeanWrapper
public class BeanWrapper
- extends java.lang.Object
Parameters map to POJO binder.
Constructor Summary |
BeanWrapper(java.lang.Class forClass)
|
Method Summary |
java.lang.Object |
bind(java.lang.String name,
java.lang.reflect.Type type,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.lang.String prefix)
|
java.lang.Object |
bind(java.lang.String name,
java.lang.reflect.Type type,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.lang.String prefix,
java.lang.Object instance)
|
java.util.Collection<BeanWrapper.Property> |
getWrappers()
|
protected java.lang.Object |
newBeanInstance()
|
void |
set(java.lang.String name,
java.lang.Object instance,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanWrapper
public BeanWrapper(java.lang.Class forClass)
getWrappers
public java.util.Collection<BeanWrapper.Property> getWrappers()
bind
public java.lang.Object bind(java.lang.String name,
java.lang.reflect.Type type,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.lang.String prefix)
throws java.lang.Exception
- Throws:
java.lang.Exception
bind
public java.lang.Object bind(java.lang.String name,
java.lang.reflect.Type type,
java.util.Map<java.lang.String,java.lang.String[]> params,
java.lang.String prefix,
java.lang.Object instance)
throws java.lang.Exception
- Throws:
java.lang.Exception
set
public void set(java.lang.String name,
java.lang.Object instance,
java.lang.Object value)
newBeanInstance
protected java.lang.Object newBeanInstance()
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly