public interface TypeConverter
Modifier and Type | Field and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
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.java.lang.Object coerceToUi(java.lang.Object val, Component comp)
val
- the object to be coerced to UI component attribute type.comp
- associated componentIGNORE
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 componentIGNORE
if you want DataBinder to ignore the assignment.Copyright © 2005-2023 Potix Corporation. All Rights Reserved.