1 15 package org.apache.tapestry.parse; 16 17 import org.apache.tapestry.util.IPropertyHolder; 18 19 25 26 class PropertyValueSetter 27 { 28 private IPropertyHolder _holder; 29 private String _propertyName; 30 private String _propertyValue; 31 32 PropertyValueSetter(IPropertyHolder holder, String propertyName, String propertyValue) 33 { 34 _holder = holder; 35 _propertyName = propertyName; 36 _propertyValue = propertyValue; 37 } 38 39 public void applyValue(String value) 40 { 41 _holder.setProperty(_propertyName, value); 42 } 43 44 public String getPropertyValue() 45 { 46 return _propertyValue; 47 } 48 49 } 50 | Popular Tags |