org.jboss.util.propertyeditor
Class ClassEditor

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

public class ClassEditor
extends TextPropertyEditorSupport

A property editor for Class.

Version:
$Revision: 1.3 $
Author:
Jason Dillon

Constructor Summary
ClassEditor()
           
 
Method Summary
 Object getValue()
          Returns a Class for the input object converted to a string.
 
Methods inherited from class org.jboss.util.propertyeditor.TextPropertyEditorSupport
setAsText
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getTags, 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

ClassEditor

public ClassEditor()
Method Detail

getValue

public Object getValue()
Returns a Class for the input object converted to a string.

Returns:
a Class object
Throws:
NestedRuntimeException - Failed to create Class instance.


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