org.apache.xbean.propertyeditor
Class PropertyEditors

java.lang.Object
  extended by org.apache.xbean.propertyeditor.PropertyEditors

public class PropertyEditors
extends 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(Class type)
           
static boolean canConvert(String type, ClassLoader classLoader)
           
static Object getValue(String type, String value, ClassLoader classLoader)
           
static Object getValue(Type type, String value)
           
static void registerConverter(Converter converter)
           
static String toString(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(String type,
                                 ClassLoader classLoader)

canConvert

public static boolean canConvert(Class type)

toString

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

getValue

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

getValue

public static Object getValue(Type type,
                              String value)
                       throws PropertyEditorException
Throws:
PropertyEditorException


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.