Package org.apache.xbean.propertyeditor
Class ObjectNameEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.apache.xbean.propertyeditor.AbstractConverter
-
- org.apache.xbean.propertyeditor.ObjectNameEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
,Converter
public class ObjectNameEditor extends AbstractConverter
A property editor forObjectName
.- Version:
- $Rev: 6680 $ $Date: 2005-12-24T04:38:27.427468Z $
-
-
Constructor Summary
Constructors Constructor Description ObjectNameEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
toObjectImpl(java.lang.String text)
Returns a ObjectName for the input object converted to a string.-
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
-
-
-
-
Method Detail
-
toObjectImpl
protected java.lang.Object toObjectImpl(java.lang.String text)
Returns a ObjectName for the input object converted to a string.- Specified by:
toObjectImpl
in classAbstractConverter
- Parameters:
text
- the text to convert- Returns:
- a ObjectName object
- Throws:
PropertyEditorException
- An MalformedObjectNameException occured.
-
-