org.testng.internal
Class PropertyUtils

java.lang.Object
  extended by org.testng.internal.PropertyUtils

public class PropertyUtils
extends java.lang.Object

Utility class for setting JavaBeans-style properties on instances.

Author:
Cosmin Marginean, Apr 12, 2007

Constructor Summary
PropertyUtils()
           
 
Method Summary
static java.lang.Class getPropertyType(java.lang.Class instanceClass, java.lang.String propertyName)
           
static void setProperty(java.lang.Object instance, java.lang.String name, java.lang.String value)
           
static void setPropertyRealValue(java.lang.Object instance, java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyUtils

public PropertyUtils()
Method Detail

setProperty

public static void setProperty(java.lang.Object instance,
                               java.lang.String name,
                               java.lang.String value)

getPropertyType

public static java.lang.Class getPropertyType(java.lang.Class instanceClass,
                                              java.lang.String propertyName)

setPropertyRealValue

public static void setPropertyRealValue(java.lang.Object instance,
                                        java.lang.String name,
                                        java.lang.Object value)


Copyright © 2010. All Rights Reserved.