|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.primix.tapestry.util.prop.PropertyHelper | +--com.primix.tapestry.bean.BeanProviderHelper
A subclass of PropertyHelper
that allows a IBeanProvider
to expose the beans it can create as properties.
Inner Class Summary | |
static class |
BeanProviderHelper.BeanAccessor
|
Fields inherited from class com.primix.tapestry.util.prop.PropertyHelper |
accessors, beanClass, PATH_SEPERATOR |
Constructor Summary | |
BeanProviderHelper(java.lang.Class beanClass)
|
Method Summary | |
IPropertyAccessor |
getAccessor(java.lang.Object instance,
java.lang.String name)
Finds an accessor for the given property name. |
java.util.Collection |
getSyntheticPropertyNames(java.lang.Object instance)
Returns a Collection of the names of any synthetic properties. |
Methods inherited from class com.primix.tapestry.util.prop.PropertyHelper |
buildPropertyAccessors, forClass, forInstance, get, getAccessorPath, getAccessors, getPath, getPath, isReadable, isWritable, register, set, setPath, setPath, splitPropertyPath, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BeanProviderHelper(java.lang.Class beanClass)
Method Detail |
public IPropertyAccessor getAccessor(java.lang.Object instance, java.lang.String name)
PropertyHelper
getAccessor
in class PropertyHelper
com.primix.tapestry.util.prop.PropertyHelper
propertyName
- the simple property name of the property to
get.public java.util.Collection getSyntheticPropertyNames(java.lang.Object instance)
PropertyHelper
Subclasses should override this to interrogate the instance
in an appropriate way, so as to extract this list of properties.
For example, MapHelper
casts the instance to Map
,
and returns the map's keySet.
Subclasses may override this implementation without invoking it. This implementation returns null.
getSyntheticPropertyNames
in class PropertyHelper
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |