Class PropertyEditors

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

@Deprecated public class PropertyEditors extends Object
Deprecated.
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 $
  • Field Details

    • registerWithVM

      private static boolean registerWithVM
      Deprecated.
    • REGISTRY

      private static final PropertyEditorRegistry REGISTRY
      Deprecated.
  • Constructor Details

    • PropertyEditors

      public PropertyEditors()
      Deprecated.
  • Method Details

    • isRegisterWithVM

      public static boolean isRegisterWithVM()
      Deprecated.
      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)
      Deprecated.
      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)
      Deprecated.
    • canConvert

      public static boolean canConvert(String type, ClassLoader classLoader)
      Deprecated.
    • canConvert

      public static boolean canConvert(Class<?> type)
      Deprecated.
    • toString

      public static String toString(Object value) throws PropertyEditorException
      Deprecated.
      Throws:
      PropertyEditorException
    • getValue

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

      public static Object getValue(Type type, String value) throws PropertyEditorException
      Deprecated.
      Throws:
      PropertyEditorException
    • registry

      public static PropertyEditorRegistry registry()
      Deprecated.