org.apache.xbean.propertyeditor
Class PropertyEditors
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyEditors
public PropertyEditors()
isRegisterWithVM
public static boolean isRegisterWithVM()
- Are converters registered with the VM PropertyEditorManager. By default
converters are not registered with the VM as this creates problems for
IDE and Spring because they rely in their specific converters being
registered to function properly.
setRegisterWithVM
public static void setRegisterWithVM(boolean registerWithVM)
- Sets if converters registered with the VM PropertyEditorManager.
If the new value is true, all currently registered converters are
immediately registered with the VM.
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-2009 The Apache Software Foundation. All Rights Reserved.