public interface TypeConverter
| Modifier and Type | Field and Description |
|---|---|
static 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. |
| Modifier and Type | Method and Description |
|---|---|
Object |
coerceToBean(Object val,
org.zkoss.zk.ui.Component comp)
Deprecated.
Convert an value object to bean property type.
|
Object |
coerceToUi(Object val,
org.zkoss.zk.ui.Component comp)
Deprecated.
Convert an value object to UI component attribute type.
|
static final Object IGNORE
coerceToBean(java.lang.Object, org.zkoss.zk.ui.Component) or coerceToUi(java.lang.Object, org.zkoss.zk.ui.Component),
meaning ignore it.Object coerceToUi(Object val, org.zkoss.zk.ui.Component comp)
val - the object to be coerced to UI component attribute type.comp - associated componentIGNORE
if you want DataBinder to ignore the assignment.Object coerceToBean(Object val, org.zkoss.zk.ui.Component comp)
val - the object to be coerced to backend bean property type.comp - associated componentIGNORE
if you want DataBinder to ignore the assignment.Copyright © 2015. All rights reserved.