java.lang.Object
java.beans.PropertyEditorSupport
org.apache.geronimo.common.propertyeditor.TextPropertyEditorSupport
org.apache.geronimo.common.propertyeditor.MapEditor
- All Implemented Interfaces:
- java.beans.PropertyEditor
- public class MapEditor
- extends TextPropertyEditorSupport
A property editor for java.util.Properties.
- Version:
- $Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $
| Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, 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 |
MapEditor
public MapEditor()
setAsText
public void setAsText(java.lang.String text)
- Description copied from class:
TextPropertyEditorSupport
- Sets the property value by parsing a given String.
- Specified by:
setAsText in interface java.beans.PropertyEditor- Overrides:
setAsText in class TextPropertyEditorSupport
getAsText
public java.lang.String getAsText()
- Description copied from class:
java.beans.PropertyEditorSupport
- Gets the value as text.
In this class, you cannot count on getAsText() doing
anything useful, although in this implementation I
do toString().