net.sf.doolin.util
Class DefaultPropertyResolver

java.lang.Object
  extended by net.sf.doolin.util.DefaultPropertyResolver
All Implemented Interfaces:
PropertyResolver

public class DefaultPropertyResolver
extends Object
implements PropertyResolver


Constructor Summary
DefaultPropertyResolver()
           
 
Method Summary
 Object getProperty(Object bean, String property)
           
protected  Object getSimpleProperty(Object bean, String name)
           
 void setProperty(Object bean, String property, Object value)
           
protected  void setSimpleProperty(Object bean, String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertyResolver

public DefaultPropertyResolver()
Method Detail

getProperty

public Object getProperty(Object bean,
                          String property)
Specified by:
getProperty in interface PropertyResolver

getSimpleProperty

protected Object getSimpleProperty(Object bean,
                                   String name)
                            throws IllegalAccessException,
                                   InvocationTargetException,
                                   NoSuchMethodException
Throws:
IllegalAccessException
InvocationTargetException
NoSuchMethodException

setProperty

public void setProperty(Object bean,
                        String property,
                        Object value)
Specified by:
setProperty in interface PropertyResolver

setSimpleProperty

protected void setSimpleProperty(Object bean,
                                 String name,
                                 Object value)
                          throws IllegalAccessException,
                                 InvocationTargetException,
                                 NoSuchMethodException
Throws:
IllegalAccessException
InvocationTargetException
NoSuchMethodException


Copyright © 2011. All Rights Reserved.