public class ImageContentConverter extends java.lang.Object implements java.io.Serializable, Converter<java.lang.Object,java.lang.Object,Image>
IGNORED_VALUE
Constructor and Description |
---|
ImageContentConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
coerceToBean(java.lang.Object compAttr,
Image imgComp,
BindContext ctx)
Coerces a value to bean value to save to a bean
|
java.lang.Object |
coerceToUi(java.lang.Object beanProp,
Image imgComp,
BindContext ctx)
Coerces a value to another value to load to a component
|
public java.lang.Object coerceToUi(java.lang.Object beanProp, Image imgComp, BindContext ctx)
Converter
coerceToUi
in interface Converter<java.lang.Object,java.lang.Object,Image>
beanProp
- the bean valueimgComp
- the component to be loaded the valuectx
- the bind contextpublic java.lang.Object coerceToBean(java.lang.Object compAttr, Image imgComp, BindContext ctx)
Converter
coerceToBean
in interface Converter<java.lang.Object,java.lang.Object,Image>
compAttr
- the value of component attribute.imgComp
- the component provides the valuectx
- the bind contextCopyright © 2005-2011 Potix Corporation. All Rights Reserved.