Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » beans » propertyeditors » [javadoc | source]
org.springframework.beans.propertyeditors
public class: ClassEditor [javadoc | source]
java.lang.Object
   java.beans.PropertyEditorSupport
      org.springframework.beans.propertyeditors.ClassEditor

All Implemented Interfaces:
    PropertyEditor

Property editor for 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.

Constructor:
 public ClassEditor() 
 public ClassEditor(ClassLoader classLoader) 
    Create a default ClassEditor, using the given ClassLoader.
    Parameters:
    classLoader - the ClassLoader to use (or null for the thread context ClassLoader)
Method from org.springframework.beans.propertyeditors.ClassEditor Summary:
getAsText,   setAsText
Methods from java.beans.PropertyEditorSupport:
addPropertyChangeListener,   firePropertyChange,   getAsText,   getCustomEditor,   getJavaInitializationString,   getSource,   getTags,   getValue,   isPaintable,   paintValue,   removePropertyChangeListener,   setAsText,   setSource,   setValue,   supportsCustomEditor
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.beans.propertyeditors.ClassEditor Detail:
 public String getAsText() 
 public  void setAsText(String text) throws IllegalArgumentException