|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tapestry.util.DelegatingPropertySource
An implementation of IPropertySource
that delegates to a list of other implementations. This makes
it possible to create a search path for property values.
Constructor Summary | |
DelegatingPropertySource()
|
|
DelegatingPropertySource(IPropertySource delegate)
|
Method Summary | |
void |
addSource(IPropertySource source)
Adds another source to the list of delegate property sources. |
java.lang.String |
getPropertyValue(java.lang.String propertyName)
Re-invokes the method on each delegate property source, in order, return the first non-null value found. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DelegatingPropertySource()
public DelegatingPropertySource(IPropertySource delegate)
Method Detail |
public void addSource(IPropertySource source)
public java.lang.String getPropertyValue(java.lang.String propertyName)
getPropertyValue
in interface IPropertySource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |