play.data.binding
Interface TypeUnbinder<T>
- All Known Implementing Classes:
- As.DEFAULT
public interface TypeUnbinder<T>
Supported type for unbinding. This interface is used to implement custom unbinders.
Method Summary |
boolean |
unBind(java.util.Map<java.lang.String,java.lang.Object> result,
java.lang.Object src,
java.lang.Class<?> srcClazz,
java.lang.String name,
java.lang.annotation.Annotation[] annotations)
|
unBind
boolean unBind(java.util.Map<java.lang.String,java.lang.Object> result,
java.lang.Object src,
java.lang.Class<?> srcClazz,
java.lang.String name,
java.lang.annotation.Annotation[] annotations)
throws java.lang.Exception
- Parameters:
result
- src
- the object you want to unbindactualClass
- The class of the object you want to associate the value withname
- the name of you parameter ie myparam for a simple param but can also be a complex one : mybean.address.streetannotations
- An array of annotation that may be bound to your method parameter or your bean property
- Returns:
- true si unbinder is successful, otherwise false and will use the default unbinder
- Throws:
java.lang.Exception
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly