org.springframework.beans
public class: PropertyValuesEditor [javadoc |
source]
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.beans.PropertyValuesEditor
All Implemented Interfaces:
PropertyEditor
Editor for a
PropertyValues object.
The required format is defined in the java.util.Properties
documentation. Each property must be on a new line.
The present implementation relies on a
org.springframework.beans.propertyeditors.PropertiesEditor
underneath.
- author:
Rod - Johnson
- author:
Juergen - Hoeller
| Method from org.springframework.beans.PropertyValuesEditor Summary: |
|---|
|
setAsText |
| Methods from java.beans.PropertyEditorSupport: |
|---|
|
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource, setValue, supportsCustomEditor |
| Method from org.springframework.beans.PropertyValuesEditor Detail: |
public void setAsText(String text) throws IllegalArgumentException {
this.propertiesEditor.setAsText(text);
Properties props = (Properties) this.propertiesEditor.getValue();
setValue(new MutablePropertyValues(props));
}
|