org.apache.geronimo.common.propertyeditor
Class MapEditor

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

public class MapEditor
extends TextPropertyEditorSupport

A property editor for Properties.

Version:
$Rev: 356022 $ $Date: 2005-12-11 21:58:34 +0100 (Sun, 11 Dec 2005) $

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, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, 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()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.