org.databene.commons.accessor
Class TypedAccessorChain

java.lang.Object
  extended by org.databene.commons.accessor.TypedAccessorChain
All Implemented Interfaces:
Accessor, TypedAccessor

public class TypedAccessorChain
extends java.lang.Object
implements TypedAccessor

Consecutively invokes a series of accessors using the result value of each invocation as input value for the next.

Created: 21.07.2007 07:02:07

Author:
Volker Bergmann

Constructor Summary
TypedAccessorChain(TypedAccessor[] realAccessors)
           
 
Method Summary
 TypedAccessor[] getSubAccessors()
           
 java.lang.Object getValue(java.lang.Object target)
           
 java.lang.Class<?> getValueType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypedAccessorChain

public TypedAccessorChain(TypedAccessor[] realAccessors)
Method Detail

getSubAccessors

public TypedAccessor[] getSubAccessors()

getValueType

public java.lang.Class<?> getValueType()
Specified by:
getValueType in interface TypedAccessor

getValue

public java.lang.Object getValue(java.lang.Object target)
Specified by:
getValue in interface Accessor


Copyright © 2010. All Rights Reserved.