|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.cinnamon.config.xml.ConfigurationProperty
public class ConfigurationProperty
The ConfigurationProperty represents a single property (attribute) from an XML configuration file.
| Constructor Summary | |
|---|---|
ConfigurationProperty(Property property,
String value)
Creates a new configuration property. |
|
| Method Summary | |
|---|---|
String |
getName()
Returns the name of this configuration property |
void |
setValue(Object target)
Applies the value of this configuration property to the given bean instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationProperty(Property property,
String value)
throws ConversionException
property - the Property instance representing the target objectvalue - the String representation of the property value
ConversionException - if the String value cannot be converted to the type of the property| Method Detail |
|---|
public String getName()
public void setValue(Object target)
target - the bean instance this configuration property should be applied to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||