Package net.sf.json
Class JSONObject.MethodProperty
- java.lang.Object
-
- net.sf.json.JSONObject.MethodProperty
-
- All Implemented Interfaces:
JSONObject.Property
- Enclosing class:
- JSONObject
private static class JSONObject.MethodProperty extends java.lang.Object implements JSONObject.Property
-
-
Field Summary
Fields Modifier and Type Field Description private java.beans.PropertyDescriptorpd
-
Constructor Summary
Constructors Modifier Constructor Description privateMethodProperty(java.beans.PropertyDescriptor pd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassgetPropertyType()booleanisWritable()java.lang.Stringname()voidset(java.lang.Object bean, java.lang.Object value, JsonConfig jsonConfig)
-
-
-
Method Detail
-
isWritable
public boolean isWritable()
- Specified by:
isWritablein interfaceJSONObject.Property
-
name
public java.lang.String name()
- Specified by:
namein interfaceJSONObject.Property
-
getPropertyType
public java.lang.Class getPropertyType()
- Specified by:
getPropertyTypein interfaceJSONObject.Property
-
set
public void set(java.lang.Object bean, java.lang.Object value, JsonConfig jsonConfig) throws java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException- Specified by:
setin interfaceJSONObject.Property- Throws:
java.lang.reflect.InvocationTargetExceptionjava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessException
-
-