Link here:
- http://docs.codehaus.org/display/GEOTOOLS/Feature+Model+Branch

   1. Builder vs Factory
          * XFactory does what it does *exactly* with no logic
          * XBuilder maintains state and can do the logic you wanted to
            put in the
            factory
   2. DataStore and its Factories
          * AbstractDataStore is focused on "simple" features
          * AbstractDataStore "owns" types and thus *needs* a
            SimpleTypeFactory in
            order to create them
          * FeatureSource "owns" data and thus needs a
            SimpleFeatureFactory in
            order to create data
   3. Iterators and FeatureReaders/FeatureWriters
          * FeatureReader and FeatureWriter are no longer a focus of
            interaction
          * Iterators "create" content, each pass through the data will
            need *its
            own* FeatureBuilder
   4. Use of Builders
          * Builders should only ever be a local variable.




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to