|
||||||||||
| 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.
| Method Summary | |
|---|---|
java.lang.Object |
coerceToBean(java.lang.Object val,
org.zkoss.zk.ui.Component comp)
Convert an value object to bean property type. |
java.lang.Object |
coerceToUi(java.lang.Object val,
org.zkoss.zk.ui.Component comp)
Convert an value object to UI component attribute type. |
| Method Detail |
|---|
java.lang.Object coerceToUi(java.lang.Object val,
org.zkoss.zk.ui.Component comp)
val - the object to be corece to UI component attribute type.comp - associated component
java.lang.Object coerceToBean(java.lang.Object val,
org.zkoss.zk.ui.Component comp)
val - the object to be corece to backend bean property type.comp - associated component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||