org.jurvis.beans
Class JvBeanUtilities

java.lang.Object
  extended by org.jurvis.beans.JvBeanUtilities

public class JvBeanUtilities
extends Object

Utility methods related to JavaBeans.

Author:
Neil W. Weber

Constructor Summary
JvBeanUtilities()
           
 
Method Summary
static PropertyDescriptor getPropertyDescriptor(Class clazz, String property)
          Return the PropertyDescriptor for a particular property of the specified class.
static Class getPropertyType(Class clazz, String property)
          Return the Class for a particular propert of the specified class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JvBeanUtilities

public JvBeanUtilities()
Method Detail

getPropertyDescriptor

public static PropertyDescriptor getPropertyDescriptor(Class clazz,
                                                       String property)
Return the PropertyDescriptor for a particular property of the specified class.

Parameters:
clazz - the class containing the property
property - the name of the desired property
Returns:
the PropertyDescriptor; or null if not found

getPropertyType

public static Class getPropertyType(Class clazz,
                                    String property)
Return the Class for a particular propert of the specified class.

Parameters:
clazz - the class containing the property
property - the name of the desired property
Returns:
the PropertyDescriptor; or null if not found


Copyright © 1999-2004 Neil W. Weber. All Rights Reserved.