public class UriConverter extends java.lang.Object implements Converter, java.io.Serializable
IGNORED_VALUE
Constructor and Description |
---|
UriConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
coerceToBean(java.lang.Object val,
Component component,
BindContext ctx)
Coerces a value to bean value to save to a bean
|
java.lang.Object |
coerceToUi(java.lang.Object val,
Component component,
BindContext ctx)
Coerces a value to another value to load to a component
|
public java.lang.Object coerceToUi(java.lang.Object val, Component component, BindContext ctx)
Converter
coerceToUi
in interface Converter
val
- the bean valuecomponent
- the component to be loaded the valuectx
- the bind contextpublic java.lang.Object coerceToBean(java.lang.Object val, Component component, BindContext ctx)
Converter
coerceToBean
in interface Converter
val
- the value of component attribute.component
- the component provides the valuectx
- the bind contextCopyright © 2005-2021 Potix Corporation. All Rights Reserved.