Class BindingHelperStringValue
- java.lang.Object
-
- org.fugerit.java.core.cfg.helpers.AbstractConfigurableObject
-
- org.fugerit.java.core.cfg.helpers.XMLConfigurableObject
-
- org.fugerit.java.core.lang.binding.BindingHelperDefault
-
- org.fugerit.java.core.lang.binding.BindingHelperStringValue
-
- All Implemented Interfaces:
Serializable
,ConfigurableObject
,IdConfigType
,BindingHelper
,LogObject
,KeyObject<String>
,KeyString
public class BindingHelperStringValue extends BindingHelperDefault
Convert any value found from the source binding to a string. Null value is preserved, otherwise toString() i used.- Author:
- Matteo a.k.a. Fugerit
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BindingHelper
DEFAULT
-
Fields inherited from class org.fugerit.java.core.cfg.helpers.XMLConfigurableObject
DO_NOTHING
-
-
Constructor Summary
Constructors Constructor Description BindingHelperStringValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
convertValue(BindingContext context, BindingConfig binding, BindingFieldConfig field, Object value)
-
Methods inherited from class org.fugerit.java.core.lang.binding.BindingHelperDefault
bind, bindingWorker, configure, getId, getKey, getParam01, getParam02, getParam03, getParamType, getType, resolveType, setId, setParam01, setParam02, setParam03, setType
-
Methods inherited from class org.fugerit.java.core.cfg.helpers.XMLConfigurableObject
configure, newXMLConfigurableObject
-
Methods inherited from class org.fugerit.java.core.cfg.helpers.AbstractConfigurableObject
configureProperties, configureXML, getLogger, setConfigProvider
-
-
-
-
Field Detail
-
DEFAULT
public static final BindingHelper DEFAULT
-
-
Method Detail
-
convertValue
public Object convertValue(BindingContext context, BindingConfig binding, BindingFieldConfig field, Object value) throws Exception
- Overrides:
convertValue
in classBindingHelperDefault
- Throws:
Exception
-
-