1 15 package org.apache.tapestry.util; 16 17 import org.apache.tapestry.engine.IPropertySource; 18 19 27 28 public class PropertyHolderPropertySource implements IPropertySource 29 { 30 private IPropertyHolder _holder; 31 32 public PropertyHolderPropertySource(IPropertyHolder holder) 33 { 34 _holder = holder; 35 } 36 37 public String getPropertyValue(String propertyName) 38 { 39 return _holder.getProperty(propertyName); 40 } 41 42 } 43 | Popular Tags |