I found TextualAttributeType for you to cover the xs:string case; but 
really the goal is to use the same information (the same data 
structure). So if your code is parsing in "xs:string" let us know by 
including that information in your AttributeType.

Jody

Sunburned Surveyor wrote:
> I'm working on converting Paul Austin's DataObject code to GeoTools,
> so I can use it in the GPX module. (A data object is a very low-level
> representation of data that SimpleFeature objects can be created
> from.)
>
> I need to describe an attribute or property of a DataObject. I was
> hoping to use the GeoAPI PropertyDescriptor and PropertyType
> interfaces to do this, since that is what GeoTools FeatureModel
> appears to be using currently.
>
> I'm just curious why the PropertyDescriptor and PropertyType
> interfaces were made separate. How are they really different? Will
> there be any issues if I implement both interfaces with a single class
> providing information about a DataObject attribute?
>
> Does GeoTools provide default implementations of these two interfaces?
>
> Thanks for the help.
>
> Landon
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to