You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/06/11 20:05:41 UTC

DO NOT REPLY [Bug 20686] New: - register converters by both target class and source class

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20686>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20686

register converters by both target class and source class

           Summary: register converters by both target class and source
                    class
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Bean Utilities
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: ericpabst@discoverfinancial.com


One of the big shortcomings I see with the ConvertUtils is that you can't 
intuitively register different converters based on source class.  e.g. 
SomeClass to String, and OtherClass to String.  Especially since multiple 
ConvertUtilsBeans can co-exist, it only makes sense to be able to get away from 
depending on the toString() method for ALL conversions to a String type (this 
is the nearest match that I can see to what I'm asking for).

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org