Hi,
i am a bit confused.
Is is ok or not, to do something like:
SimpleTypeBuilder builder = new SimpleTypeBuilder();
builder.setName( "testType" );
builder.setNamespaceURI( "http://www.geotools.org/" );
builder.setSRS( "EPSG:4326" );
//add attributes
builder.add( "attrMap", Map.class );
It seem's to work fine, but i remember, that it might not be ok to use maps as
attributes.
The problem is, that i have a varying list of attributes, and i don't want to
build a seperate featuretype for every possibly occuring attribute.
Sincerely,
Julian
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users