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.PropertyDescriptor
pd
-
Constructor Summary
Constructors Modifier Constructor Description private
MethodProperty(java.beans.PropertyDescriptor pd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class
getPropertyType()
boolean
isWritable()
java.lang.String
name()
void
set(java.lang.Object bean, java.lang.Object value, JsonConfig jsonConfig)
-
-
-
Method Detail
-
isWritable
public boolean isWritable()
- Specified by:
isWritable
in interfaceJSONObject.Property
-
name
public java.lang.String name()
- Specified by:
name
in interfaceJSONObject.Property
-
getPropertyType
public java.lang.Class getPropertyType()
- Specified by:
getPropertyType
in 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:
set
in interfaceJSONObject.Property
- Throws:
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
-
-