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
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 createdpropertyPath - 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.