src/share/classes/java/beans/SimpleBeanInfo.java

Print this page
rev 10053 : 8044855: Add missing @since tag under java.beans.*
Reviewed-by:


  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.beans;
  27 
  28 /**
  29  * This is a support class to make it easier for people to provide
  30  * BeanInfo classes.
  31  * <p>
  32  * It defaults to providing "noop" information, and can be selectively
  33  * overriden to provide more explicit information on chosen topics.
  34  * When the introspector sees the "noop" values, it will apply low
  35  * level introspection and design patterns to automatically analyze
  36  * the target bean.


  37  */
  38 
  39 public class SimpleBeanInfo implements BeanInfo {
  40 
  41     /**
  42      * Deny knowledge about the class and customizer of the bean.
  43      * You can override this if you wish to provide explicit info.
  44      */
  45     public BeanDescriptor getBeanDescriptor() {
  46         return null;
  47     }
  48 
  49     /**
  50      * Deny knowledge of properties. You can override this
  51      * if you wish to provide explicit property info.
  52      */
  53     public PropertyDescriptor[] getPropertyDescriptors() {
  54         return null;
  55     }
  56 




  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.beans;
  27 
  28 /**
  29  * This is a support class to make it easier for people to provide
  30  * BeanInfo classes.
  31  * <p>
  32  * It defaults to providing "noop" information, and can be selectively
  33  * overriden to provide more explicit information on chosen topics.
  34  * When the introspector sees the "noop" values, it will apply low
  35  * level introspection and design patterns to automatically analyze
  36  * the target bean.
  37  *
  38  * @since 1.1
  39  */
  40 
  41 public class SimpleBeanInfo implements BeanInfo {
  42 
  43     /**
  44      * Deny knowledge about the class and customizer of the bean.
  45      * You can override this if you wish to provide explicit info.
  46      */
  47     public BeanDescriptor getBeanDescriptor() {
  48         return null;
  49     }
  50 
  51     /**
  52      * Deny knowledge of properties. You can override this
  53      * if you wish to provide explicit property info.
  54      */
  55     public PropertyDescriptor[] getPropertyDescriptors() {
  56         return null;
  57     }
  58