public class ClassEditor extends PropertyEditorSupport
java.lang.Class, to enable the direct
 population of a Class property without recourse to having to use a
 String class name property as bridge.
 Also supports "java.lang.String[]"-style array class names, in contrast to the
 standard Class.forName(String) method.
Class.forName(java.lang.String), 
ClassUtils.forName(String, ClassLoader)| Constructor and Description | 
|---|
| ClassEditor()Create a default ClassEditor, using the thread context ClassLoader. | 
| ClassEditor(ClassLoader classLoader)Create a default ClassEditor, using the given ClassLoader. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAsText() | 
| void | setAsText(String text) | 
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic ClassEditor()
public ClassEditor(@Nullable
                   ClassLoader classLoader)
classLoader - the ClassLoader to use
 (or null for the thread context ClassLoader)public void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupport