Class StringEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.xbean.propertyeditor.AbstractConverter
org.apache.xbean.propertyeditor.StringEditor
- All Implemented Interfaces:
PropertyEditor, Converter
- Version:
- $Rev: 6680 $ $Date: 2005-12-24T04:38:27.427468Z $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjecttoObjectImpl(String text) Converts the supplied text in to an instance of the editor type.Methods inherited from class AbstractConverter
getAsText, getType, getValue, setAsText, setValue, toObject, toString, toStringImplMethods inherited from class PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PropertyEditor
addPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
-
Constructor Details
-
StringEditor
public StringEditor()
-
-
Method Details
-
toObjectImpl
Description copied from class:AbstractConverterConverts the supplied text in to an instance of the editor type. The text will never be null, and trim() will already have been called.- Specified by:
toObjectImplin classAbstractConverter- Parameters:
text- the text to convert- Returns:
- an instance of the editor type
-