public class

ClassArrayEditor

extends PropertyEditorSupport
java.lang.Object
   ↳ java.beans.PropertyEditorSupport
     ↳ org.springframework.beans.propertyeditors.ClassArrayEditor

Class Overview

Property editor for an array of java.lang.Class Classes, to enable the direct population of a Class[] property without having to use a String class name property as bridge.

Also supports "java.lang.String[]"-style array class names, in contrast to the standard forName(String) method.

Summary

Public Constructors
ClassArrayEditor()
Create a default ClassEditor, using the thread context ClassLoader.
ClassArrayEditor(ClassLoader classLoader)
Create a default ClassArrayEditor, using the given ClassLoader.
Public Methods
String getAsText()
void setAsText(String text)
[Expand]
Inherited Methods
From class java.beans.PropertyEditorSupport
From class java.lang.Object
From interface java.beans.PropertyEditor

Public Constructors

public ClassArrayEditor ()

Also: SpringBeans

Create a default ClassEditor, using the thread context ClassLoader.

public ClassArrayEditor (ClassLoader classLoader)

Also: SpringBeans

Create a default ClassArrayEditor, using the given ClassLoader.

Parameters
classLoader the ClassLoader to use (or pass null for the thread context ClassLoader)

Public Methods

public String getAsText ()

public void setAsText (String text)