Package net.sf.json.util
Class PropertySetStrategy
- java.lang.Object
-
- net.sf.json.util.PropertySetStrategy
-
public abstract class PropertySetStrategy extends java.lang.Object
Defines a custom setter to be used when setting object values.
Specify with JsonConfig.setJsonPropertySetter().- Author:
- Gino Miceli
, Andres Almiray
-
-
Field Summary
Fields Modifier and Type Field Description static PropertySetStrategy
DEFAULT
-
Constructor Summary
Constructors Constructor Description PropertySetStrategy()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
setProperty(java.lang.Object bean, java.lang.String key, java.lang.Object value)
void
setProperty(java.lang.Object bean, java.lang.String key, java.lang.Object value, JsonConfig jsonConfig)
-
-
-
Field Detail
-
DEFAULT
public static final PropertySetStrategy DEFAULT
-
-
Method Detail
-
setProperty
public abstract void setProperty(java.lang.Object bean, java.lang.String key, java.lang.Object value) throws JSONException
- Throws:
JSONException
-
setProperty
public void setProperty(java.lang.Object bean, java.lang.String key, java.lang.Object value, JsonConfig jsonConfig) throws JSONException
- Throws:
JSONException
-
-