com.javaforge.tapestry.prop
Interface PropertyAccessorSource

All Known Implementing Classes:
PropertyAccessorSourceImpl

public interface PropertyAccessorSource

A factory that creates PropertyAccessor instances for a given object and property path. A property path is a sequence of property names, separated by periods.

Author:
Howard M. Lewis Ship

Method Summary
 PropertyAccessor getAccessor(Object object, String propertyPath)
          Provides a new instance of PropertyAccessor for a particular object and property name.
 

Method Detail

getAccessor

PropertyAccessor getAccessor(Object object,
                             String propertyPath)
Provides a new instance of PropertyAccessor for a particular object and property name. The implementation is expected to cache PropertyAccessor based on object class and property name.

Parameters:
object - the object for which a PropertyAccessor should be found or created
propertyPath - the name of a property, or a dotted sequence of property names
Returns:
an instantiated PropertyAccessor that provides access to the property of the object


Copyright © 2005-2007 Howard M. Lewis Ship. All Rights Reserved.