Package org.apache.xbean.propertyeditor
Class PropertyEditors
java.lang.Object
org.apache.xbean.propertyeditor.PropertyEditors
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canConvert
(Class type) static boolean
canConvert
(String type, ClassLoader classLoader) static Object
static Object
getValue
(String type, String value, ClassLoader classLoader) static boolean
Are converters registered with the VM PropertyEditorManager.static void
registerConverter
(Converter converter) static void
setRegisterWithVM
(boolean registerWithVM) Sets if converters registered with the VM PropertyEditorManager.static String
-
Constructor Details
-
PropertyEditors
public PropertyEditors()
-
-
Method Details
-
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
-
canConvert
-
canConvert
-
toString
- Throws:
PropertyEditorException
-
getValue
public static Object getValue(String type, String value, ClassLoader classLoader) throws PropertyEditorException - Throws:
PropertyEditorException
-
getValue
- Throws:
PropertyEditorException
-