1 15 package org.apache.tapestry.parse; 16 17 import org.apache.hivemind.impl.BaseLocatable; 18 import org.apache.tapestry.spec.IExtensionSpecification; 19 20 25 class ExtensionConfigurationSetter extends BaseLocatable 26 { 27 private IExtensionSpecification _extension; 28 29 private String _propertyName; 30 31 private String _value; 32 33 ExtensionConfigurationSetter(IExtensionSpecification extension, String propertyName, 34 String value) 35 { 36 _extension = extension; 37 _propertyName = propertyName; 38 _value = value; 39 } 40 41 String getValue() 42 { 43 return _value; 44 } 45 46 void apply(String value) 47 { 48 _extension.addConfiguration(_propertyName, value); 49 } 50 51 } | Popular Tags |