org.springframework.beans
Class PropertyValuesEditor

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

public class PropertyValuesEditor
extends PropertyEditorSupport

Editor for PropertyValues objects. Not a GUI editor.
NB: this editor must be registered with the JavaBeans API before it will be available. Editors in this package are registered by BeanWrapperImpl.
The required format is defined in java.util.Properties documentation. Each property must be on a new line.
The present implementation relies on a PropertiesEditor.

Author:
Rod Johnson

Constructor Summary
PropertyValuesEditor()
           
 
Method Summary
 void setAsText(String s)
           
 
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
 

Constructor Detail

PropertyValuesEditor

public PropertyValuesEditor()
Method Detail

setAsText

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


Copyright (c) 2002-2005 The Spring Framework Project.