|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.PropertyEditorSupport
org.apache.xbean.propertyeditor.AbstractConverter
org.apache.xbean.propertyeditor.ClassEditor
A property editor for converting class names into class object instances
Constructor Summary | |
ClassEditor()
|
Method Summary | |
protected java.lang.Object |
toObjectImpl(java.lang.String text)
Return a resolved class using the text value of the property as the name. |
protected java.lang.String |
toStringImpl(java.lang.Object value)
Converts the supplied object to text. |
Methods inherited from class org.apache.xbean.propertyeditor.AbstractConverter |
getAsText, getType, getValue, setAsText, setValue, toObject, toString |
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, 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 |
Constructor Detail |
public ClassEditor()
Method Detail |
protected java.lang.Object toObjectImpl(java.lang.String text)
toObjectImpl
in class AbstractConverter
text
- the text to convert
PropertyEditorException
- Unable to resolve the Class object from the name.protected java.lang.String toStringImpl(java.lang.Object value)
AbstractConverter
toStringImpl
in class AbstractConverter
value
- an instance of the editor type
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |