Top Description Fields Constructors Methods
org.springframework.beans

public Class PropertyValuesEditor

extends PropertyEditorSupport
Class Inheritance
Imports
java.beans.PropertyEditorSupport, java.util.Properties, org.springframework.beans.propertyeditors.PropertiesEditor

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.

Authors
Rod Johnson, Juergen Hoeller

Field Summary

Modifier and TypeField and Description
private final PropertiesEditor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
setAsText(String
The string to be parsed.
text
)

Overrides java.beans.PropertyEditorSupport.setAsText.

Implements java.beans.PropertyEditor.setAsText.

Sets the property value by parsing a given String.
Inherited from java.beans.PropertyEditorSupport:
addPropertyChangeListenerfirePropertyChangegetAsTextgetCustomEditorgetJavaInitializationStringgetSourcegetTagsgetValueisPaintablepaintValueremovePropertyChangeListenersetSourcesetValuesupportsCustomEditor

Field Detail

propertiesEditorback to summary
private final PropertiesEditor propertiesEditor

Constructor Detail

PropertyValuesEditorback to summary
public PropertyValuesEditor()

Method Detail

setAsTextback to summary
public void setAsText(String text) throws IllegalArgumentException

Overrides java.beans.PropertyEditorSupport.setAsText.

Implements java.beans.PropertyEditor.setAsText.

Doc from java.beans.PropertyEditorSupport.setAsText.

Sets the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text.

Parameters
text:String

The string to be parsed.

Annotations
@Override