net.sf.xsnapshot.support
Class XSnapshotPropertyUtils.DirectGetter

java.lang.Object
  extended bynet.sf.xsnapshot.support.XSnapshotPropertyUtils.DirectGetter
All Implemented Interfaces:
XSnapshotPropertyUtils.Getter
Enclosing class:
XSnapshotPropertyUtils

public static final class XSnapshotPropertyUtils.DirectGetter
extends Object
implements XSnapshotPropertyUtils.Getter


Method Summary
 Object get(Object target)
          Get the property value from the given instance .
 Class getReturnType()
          Get the declared Java type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public Object get(Object target)
           throws XSnapshotException
Description copied from interface: XSnapshotPropertyUtils.Getter
Get the property value from the given instance .

Specified by:
get in interface XSnapshotPropertyUtils.Getter
Parameters:
target - The instance containing the value to be retreived.
Returns:
The extracted value.
Throws:
XSnapshotException

getReturnType

public Class getReturnType()
Description copied from interface: XSnapshotPropertyUtils.Getter
Get the declared Java type

Specified by:
getReturnType in interface XSnapshotPropertyUtils.Getter