It is not accomplished directly - since a FeatureType is not changeable ( much 
like a Java String).

However one thing you can do is create a new SimpleFeatureType using a builder. 
There is an init( SimpleFeatureType ) which will configure the builder with 
your existing type; you can then modify the type (adding those two attribtues) 
and then call build() when done.

Jody

On 29/09/2010, at 1:57 AM, Hutchins, Mr. Chad wrote:

> I need to add two new SimpleFeatureType (from a builder, unless there is 
> another way) attributes to an existing SimpleFeature, how is this 
> accomplished?
>  
> Thanks!
>  
> Chad Hutchins
> Meteorologist
> Naval Research Laboratory
> Marine Meteorology Division
>  
>  
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to