Much of the api for building features has been deprecated on geotools trunk. The TypeBuilder and FeatureBuilder interfaces developed on the fm branch are intended to be used as the alternative. So in preparation for the new feature model, these classes can be used to create features based on the current model.
Building a Feature Type
Builing a Feature
Shifting to these new apis can be mostly isolated to the following methods currently used to build features:
- AttributeTypeFactory.newAttributeType() ( 666 errors )
- FeatureType.create() ( 160 errors )