org.springframework.beans
Class PropertyValuesEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.springframework.beans.PropertyValuesEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class PropertyValuesEditor
extends java.beans.PropertyEditorSupport

Editor for a PropertyValues object.

The required format is defined in the Properties documentation. Each property must be on a new line.

The present implementation relies on a PropertiesEditor underneath.

Author:
Rod Johnson, Juergen Hoeller

Field Summary
private  PropertiesEditor propertiesEditor
           
 
Constructor Summary
PropertyValuesEditor()
           
 
Method Summary
 void setAsText(java.lang.String text)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertiesEditor

private final PropertiesEditor propertiesEditor
Constructor Detail

PropertyValuesEditor

public PropertyValuesEditor()
Method Detail

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException
Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Throws:
java.lang.IllegalArgumentException