Hello, Last October I helped write a description of some of the goals for the [convert] project. I noticed the nice Maven site that's up for the project, but the description I helped write isn't up there. The description isn't in CVS either. I just tried to search for the thread where this was discussed on Google, but no luck. Here is the initial draft I sent to the commons-dev list. Anyone (Henri?) know where an updated copy is? I know Craig had a bunch of comments about this initial list I sent out.
Here it is: INTRODUCTION Convert is a framework for converting an arbitrary Java object into any other arbitrary Java object. The framework grew out of the conversion mechanism provided by the ConvertUtils class of the BeanUtils framework. One goal of the Convert framework is to integrate seamlessly with BeanUtils. POTENTIAL FEATURES - Provides a simple mechanism for converting an arbitrary Java object into any other arbitrary Java object. - Seamlessly integrates with BeanUtils. - Provides local-sensitive conversions for internationalization. - Allows converters to be written at an arbitrary level of granularity. For example, fine-grained converters can only convert objects of a single class to objects a single other class. Course-grained converters can convert an object of a single class to objects of a multitude of different classes. - (Related to the point above) Provides an automated conversion lookup mechanism that allows conversions for types that have not been specifically registered to be attempted by traversing the inheritance hierarchy of the classes involved in the conversion. - (Related to the point above) Provides a Go4 Strategy that defines how inheritance hierarchies are searched for converters. Some obvious Strategies are included in the Convert framework. - Allows different converters to be used under different circumstances. For example, one module of an application might require dates to be converted to strings one way while another part of the application requires a different standard for a different sent of users. - Provides a library of converters that may be extended by users of the Convert framework. - Provides a converter configuration mechanism that alleviates users from the task of building their own configuration structures. - Provides converters that operate on collections. For example, such a converter might change a List of Person into a List of String. - Allows the identity conversion (for example, String to String) to be turned on or off. Matt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
