|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeConverter
Converter to cast object class between UI Component attribute and backend data bean property. This interface is used in DataBinder. The implementation of this converter should not hold any state since it is shared by the whole application.
Field Summary | |
---|---|
static java.lang.Object |
IGNORE
Deprecated. Special Value, when returned in coerceToBean(java.lang.Object, org.zkoss.zk.ui.Component) or coerceToUi(java.lang.Object, org.zkoss.zk.ui.Component) ,
meaning ignore it. |
Method Summary | |
---|---|
java.lang.Object |
coerceToBean(java.lang.Object val,
Component comp)
Deprecated. Convert an value object to bean property type. |
java.lang.Object |
coerceToUi(java.lang.Object val,
Component comp)
Deprecated. Convert an value object to UI component attribute type. |
Field Detail |
---|
static final java.lang.Object IGNORE
coerceToBean(java.lang.Object, org.zkoss.zk.ui.Component)
or coerceToUi(java.lang.Object, org.zkoss.zk.ui.Component)
,
meaning ignore it.
Method Detail |
---|
java.lang.Object coerceToUi(java.lang.Object val, Component comp)
val
- the object to be coerced to UI component attribute type.comp
- associated component
IGNORE
if you want DataBinder to ignore the assignment.java.lang.Object coerceToBean(java.lang.Object val, Component comp)
val
- the object to be coerced to backend bean property type.comp
- associated component
IGNORE
if you want DataBinder to ignore the assignment.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |