站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 common API Documentation 英文版文档

ClassArrayEditor (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档


org.jboss.util.propertyeditor
Class ClassArrayEditor

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

public class ClassArrayEditor
extends PropertyEditorSupport

A property editor for Class[].

Version:
$Revision: 1.2 $
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, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, 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

Parameters:
text - - the class name list
Throws:
IllegalArgumentException

getAsText

public String getAsText()
Returns:
a comma seperated string of the class array


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