commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r617887 - /commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java
Date Sat, 02 Feb 2008 20:31:11 GMT
Author: mbenson
Date: Sat Feb  2 12:31:10 2008
New Revision: 617887

URL: http://svn.apache.org/viewvc?rev=617887&view=rev
Log:
javadoc

Modified:
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java?rev=617887&r1=617886&r2=617887&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java
Sat Feb  2 12:31:10 2008
@@ -41,15 +41,30 @@
     private Class dynamicPropertyHandlerClass;
     private HashMap propertyDescriptorMap;
 
+    /**
+     * Create a new JXPathBasicBeanInfo.
+     * @param clazz bean class
+     */
     public JXPathBasicBeanInfo(Class clazz) {
         this.clazz = clazz;
     }
 
+    /**
+     * Create a new JXPathBasicBeanInfo.
+     * @param clazz bean class
+     * @param atomic whether objects of this class are treated as atomic
+     *               objects which have no properties of their own.
+     */
     public JXPathBasicBeanInfo(Class clazz, boolean atomic) {
         this.clazz = clazz;
         this.atomic = atomic;
     }
 
+    /**
+     * Create a new JXPathBasicBeanInfo.
+     * @param clazz bean class
+     * @param dynamicPropertyHandlerClass dynamic property handler class
+     */
     public JXPathBasicBeanInfo(Class clazz, Class dynamicPropertyHandlerClass) {
         this.clazz = clazz;
         this.atomic = false;
@@ -59,6 +74,7 @@
     /**
      * Returns true if objects of this class are treated as atomic
      * objects which have no properties of their own.
+     * @return boolean
      */
     public boolean isAtomic() {
         return atomic;
@@ -66,11 +82,15 @@
 
     /**
      * Return true if the corresponding objects have dynamic properties.
+     * @return boolean
      */
     public boolean isDynamic() {
         return dynamicPropertyHandlerClass != null;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public synchronized PropertyDescriptor[] getPropertyDescriptors() {
         if (propertyDescriptors == null) {
             if (clazz == Object.class) {
@@ -104,6 +124,9 @@
         return propertyDescriptors;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public synchronized PropertyDescriptor getPropertyDescriptor(String propertyName) {
         if (propertyDescriptorMap == null) {
             propertyDescriptorMap = new HashMap();
@@ -123,6 +146,9 @@
         return dynamicPropertyHandlerClass;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public String toString() {
         StringBuffer buffer = new StringBuffer();
         buffer.append("BeanInfo [class = ");



Mime
View raw message