Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.geronimo.common.propertyeditor
Class MapEditor  view MapEditor download MapEditor.java

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.apache.geronimo.common.propertyeditor.TextPropertyEditorSupport
          extended byorg.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) $

Field Summary
 
Fields inherited from class java.beans.PropertyEditorSupport
 
Constructor Summary
MapEditor()
           
 
Method Summary
 java.lang.String getAsText()
          Gets the value as text.
 void setAsText(java.lang.String text)
          Sets the property value by parsing a given String.
 
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(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().