Package org.apache.xbean.propertyeditor
Class ConstructorConverter
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.xbean.propertyeditor.AbstractConverter
org.apache.xbean.propertyeditor.ConstructorConverter
- All Implemented Interfaces:
PropertyEditor
,Converter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConstructorConverter
protected Object
toObjectImpl
(String text) Converts the supplied text in to an instance of the editor type.Methods inherited from class org.apache.xbean.propertyeditor.AbstractConverter
getAsText, getType, getValue, setAsText, setValue, toObject, toString, toStringImpl
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
-
Field Details
-
constructor
-
-
Constructor Details
-
ConstructorConverter
-
-
Method Details
-
toObjectImpl
Description copied from class:AbstractConverter
Converts 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:
toObjectImpl
in classAbstractConverter
- Parameters:
text
- the text to convert- Returns:
- an instance of the editor type
-
editor
-