org.apache.geronimo.common.propertyeditor
Class MapEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.geronimo.common.propertyeditor.TextPropertyEditorSupport
org.apache.geronimo.common.propertyeditor.MapEditor
- All Implemented Interfaces:
- PropertyEditor
public class MapEditor
- extends TextPropertyEditorSupport
A property editor for Properties
.
Method Summary |
String |
getAsText()
|
void |
setAsText(String text)
By default, set the property value by directly passing the
provided string value through to the setValue() method. |
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(String text)
- Description copied from class:
TextPropertyEditorSupport
- By default, set the property value by directly passing the
provided string value through to the setValue() method.
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class TextPropertyEditorSupport
- Parameters:
text
- The new property value, as a string.
- Throws:
PropertyEditorException
- An IOException occured.
getAsText
public String getAsText()
- Specified by:
getAsText
in interface PropertyEditor
- Overrides:
getAsText
in class PropertyEditorSupport
Copyright © 2006 Apache Software Foundation. All Rights Reserved.