Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.geronimo.common.propertyeditor
Class PropertyEditors  view PropertyEditors download PropertyEditors.java

java.lang.Object
  extended byorg.apache.geronimo.common.propertyeditor.PropertyEditors

public class PropertyEditors
extends java.lang.Object

A collection of PropertyEditor utilities.

Allows editors to be nested sub-classes named PropertyEditor.

Version:
$Rev: 160719 $ $Date: 2005-04-09 13:20:28 -0700 (Sat, 09 Apr 2005) $

Constructor Summary
PropertyEditors()
           
 
Method Summary
static void appendEditorSearchPath(java.util.List names)
          Append package names to the property editor search path.
static void appendEditorSearchPath(java.lang.String name)
          Append a package name to the property editor search path.
static void appendEditorSearchPath(java.lang.String[] names)
          Append package names to the property editor search path.
static java.beans.PropertyEditor findEditor(java.lang.Class type)
          Locate a value editor for a given target type.
static java.beans.PropertyEditor findEditor(java.lang.String typeName, java.lang.ClassLoader classLoader)
          Locate a value editor for a given target type.
static java.beans.PropertyEditor getEditor(java.lang.Class type)
          Get a value editor for a given target type.
static java.util.List getEditorSearchPath()
          Gets the package names that will be searched for property editors.
static void registerEditor(java.lang.Class type, java.lang.Class editorType)
          Register an editor class to be used to editor values of a given target class.
static void registerEditor(java.lang.String typeName, java.lang.String editorTypeName)
          Register an editor class to be used to editor values of a given target class.
static void setEditorSearchPath(java.util.List path)
          Sets the package names that will be searched for property editors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyEditors

public PropertyEditors()
Method Detail

findEditor

public static java.beans.PropertyEditor findEditor(java.lang.Class type)
Locate a value editor for a given target type.


findEditor

public static java.beans.PropertyEditor findEditor(java.lang.String typeName,
                                                   java.lang.ClassLoader classLoader)
                                            throws java.lang.ClassNotFoundException
Locate a value editor for a given target type.


getEditor

public static java.beans.PropertyEditor getEditor(java.lang.Class type)
Get a value editor for a given target type.


registerEditor

public static void registerEditor(java.lang.Class type,
                                  java.lang.Class editorType)
Register an editor class to be used to editor values of a given target class.


registerEditor

public static void registerEditor(java.lang.String typeName,
                                  java.lang.String editorTypeName)
                           throws java.lang.ClassNotFoundException
Register an editor class to be used to editor values of a given target class.


getEditorSearchPath

public static java.util.List getEditorSearchPath()
Gets the package names that will be searched for property editors.


setEditorSearchPath

public static void setEditorSearchPath(java.util.List path)
Sets the package names that will be searched for property editors.


appendEditorSearchPath

public static void appendEditorSearchPath(java.util.List names)
Append package names to the property editor search path.


appendEditorSearchPath

public static void appendEditorSearchPath(java.lang.String[] names)
Append package names to the property editor search path.


appendEditorSearchPath

public static void appendEditorSearchPath(java.lang.String name)
Append a package name to the property editor search path.