Package net.sf.json

Class JSONObject.MethodProperty

    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • pd

        private final java.beans.PropertyDescriptor pd
    • Constructor Detail

      • MethodProperty

        private MethodProperty​(java.beans.PropertyDescriptor pd)
    • Method Detail

      • 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 interface JSONObject.Property
        Throws:
        java.lang.reflect.InvocationTargetException
        java.lang.NoSuchMethodException
        java.lang.IllegalAccessException