org.apache.xbean.propertyeditor
Class PropertyEditors

java.lang.Object
  extended byorg.apache.xbean.propertyeditor.PropertyEditors

public class PropertyEditors
extends java.lang.Object

The property editor manager. This orchestrates Geronimo usage of property editors, allowing additional search paths to be added and specific editors to be registered.

Version:
$Rev: 6687 $

Constructor Summary
PropertyEditors()
           
 
Method Summary
static boolean canConvert(java.lang.Class type)
           
static boolean canConvert(java.lang.String type, java.lang.ClassLoader classLoader)
           
static java.lang.Object getValue(java.lang.Class type, java.lang.String value)
           
static java.lang.Object getValue(java.lang.String type, java.lang.String value, java.lang.ClassLoader classLoader)
           
static void registerConverter(Converter converter)
           
static java.lang.String toString(java.lang.Object value)
           
 
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

registerConverter

public static void registerConverter(Converter converter)

canConvert

public static boolean canConvert(java.lang.String type,
                                 java.lang.ClassLoader classLoader)

canConvert

public static boolean canConvert(java.lang.Class type)

toString

public static java.lang.String toString(java.lang.Object value)
                                 throws PropertyEditorException
Throws:
PropertyEditorException

getValue

public static java.lang.Object getValue(java.lang.String type,
                                        java.lang.String value,
                                        java.lang.ClassLoader classLoader)
                                 throws PropertyEditorException
Throws:
PropertyEditorException

getValue

public static java.lang.Object getValue(java.lang.Class type,
                                        java.lang.String value)
                                 throws PropertyEditorException
Throws:
PropertyEditorException


Copyright © {inceptionYear}-2006 Apache Software Foundation. All Rights Reserved.