Ah, yes, the suffering of the new feature module.

It is indeed a royal mess because of the need to be backward compatible.
One of the first big pushes of the 2.6 branch will have to be to clean
up the feature model by dropping all the deprecated classes. Last time I
tried to sort trough things, I gave up even trying to align the javadocs
until we could drop those deprecated classes and have at least some
clarity.

The javadoc in GeoAPI is the closest to correct, so I would start there.
Also you should try to find the latest publically avaiable draft of ISO
10109 to get some UML diagrams for what is going on and then keep
falling back on "what XML would do" to figure your way through.

--adrian



On Wed, 2008-06-25 at 08:49 -0600, Tim Swanson wrote:
> Could someone give me a rundown of the distinctions between Types and
> Descriptors (e.g. AttributeType and AttributeDescriptor). I'm confused
> mainly because all of the *Type interfaces in the GeoTools legacy API
> are deprecated with pointers to their *Descriptor counterparts in the
> GeoAPI, yet the *Type classes exist there as well.
> 
> Also, in these cases, some of the original methods on the legacy
> GeoTools Type interface indeed exist on the GeoAPI Descriptor interface,
> such as getMinOccurs(), but some exist on the GeoAPI Type interface,
> such as getBinding() (which is a rename of getType(), just to add to the
> confusion).
> 
> So I've decided that rather than try to work backward from original
> intent to the current state (which has been my strategy so far), I would
> write here and ask, in the present design, what is the distinction
> between types and descriptors.
> 
> 
> Thanks,
> 
> 
> 
> Tim Swanson 
> Software Engineer
> 
> 
> Tyler Technologies, Inc.
> 14142 Denver West Parkway, Suite 155
> Lakewood, CO 80401
> Phone:  
> Fax: 303-271-1930
> E-mail: [EMAIL PROTECTED]
> Web: www.tylertech.com
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to