Have DefaultAttributeType use converter support
-----------------------------------------------

                 Key: GEOT-1570
                 URL: http://jira.codehaus.org/browse/GEOT-1570
             Project: GeoTools
          Issue Type: Bug
          Components: core main
    Affects Versions: 2.4-RC0, 2.5-M0
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.4-RC1, 2.5-M1


DefaultAttributeType does not try any type of conversion when validating and 
parsing a value.
Given that we have the Converter abilities around, it should try to convert the 
value to the
specified class instead.

This would save us the need of a BooleanAttributeType to handle booleans for 
example.
Can anybody provide some feedback on this one? I will commit the change early 
next week otherwise.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to