org.apache.geronimo.common.propertyeditor
Class MapEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.apache.geronimo.common.propertyeditor.TextPropertyEditorSupport
          extended by org.apache.geronimo.common.propertyeditor.MapEditor
All Implemented Interfaces:
PropertyEditor

public class MapEditor
extends TextPropertyEditorSupport

A property editor for Properties.


Constructor Summary
MapEditor()
           
 
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
 

Constructor Detail

MapEditor

public MapEditor()
Method Detail

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.