net.sf.json.util
Class PropertySetStrategy
java.lang.Object
net.sf.json.util.PropertySetStrategy
public abstract class PropertySetStrategy
- extends Object
Defines a custom setter to be used when setting object values.
Specify with JsonConfig.setJsonPropertySetter().
- Author:
- Gino Miceli , Andres Almiray
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final PropertySetStrategy DEFAULT
PropertySetStrategy
public PropertySetStrategy()
setProperty
public abstract void setProperty(Object bean,
String key,
Object value)
throws JSONException
- Throws:
JSONException
setProperty
public void setProperty(Object bean,
String key,
Object value,
JsonConfig jsonConfig)
throws JSONException
- Throws:
JSONException