Class PropertyEditorFactory

    • Method Detail

      • getInstance

        public static PropertyEditor getInstance​(Object object)
        Creates a new instance of editor, depending on the given object's type
        Parameters:
        object - The object we need an editor to be created for
        Returns:
        The created editor
      • getInstance

        public static PropertyEditor getInstance​(Class<?> type)
        Creates a new instance of editor, depending on the given type
        Parameters:
        type - The type of editor to create
        Returns:
        The created editor