|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplay.data.binding.types.DateBinder
public class DateBinder
Binder that support Date class.
| Field Summary | |
|---|---|
static java.lang.String |
ISO8601
|
| Constructor Summary | |
|---|---|
DateBinder()
|
|
| Method Summary | |
|---|---|
java.util.Date |
bind(java.lang.String name,
java.lang.annotation.Annotation[] annotations,
java.lang.String value,
java.lang.Class actualClass,
java.lang.reflect.Type genericType)
Called when your parameter needs to be bound. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ISO8601
| Constructor Detail |
|---|
public DateBinder()
| Method Detail |
|---|
public java.util.Date bind(java.lang.String name,
java.lang.annotation.Annotation[] annotations,
java.lang.String value,
java.lang.Class actualClass,
java.lang.reflect.Type genericType)
throws java.lang.Exception
TypeBinder
bind in interface TypeBinder<java.util.Date>name - 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 propertyvalue - the actual value as a string that needs to be boundactualClass - The class of the object you want to associate the value withgenericType - The generic type associated with the object you want to bound the value to
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||