org.jboss.util.propertyeditor
Class ClassArrayEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.jboss.util.propertyeditor.ClassArrayEditor
All Implemented Interfaces:
PropertyEditor

public class ClassArrayEditor
extends PropertyEditorSupport

A property editor for Class[].

Version:
$Revision: 1.2.6.3 $
Author:
Scott.Stark@jboss.org

Constructor Summary
ClassArrayEditor()
           
 
Method Summary
 String getAsText()
           
 void setAsText(String text)
          Build a Class[] from a comma/whitespace seperated list of classes
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassArrayEditor

public ClassArrayEditor()
Method Detail

setAsText

public void setAsText(String text)
               throws IllegalArgumentException
Build a Class[] from a comma/whitespace seperated list of classes

Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
Parameters:
text - - the class name list
Throws:
IllegalArgumentException

getAsText

public String getAsText()
Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport
Returns:
a comma seperated string of the class array


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.