org.geotools.feature.iso.simple |
|
Java Source File Name | Type | Comment |
ArraySimpleFeature.java | Class | This class is designed to be fast and lighweight, making use of the
assumptions of SimpleFeature to do everything in the easiest manner possible. |
ArraySimpleFeatureFactory.java | Class | A SimpleFeatureFactory that produces an implementation that directly wraps an
array of object values. |
IndexAttribute.java | Class | Attribute that delegates to its parent array features based on index. |
IndexDescriptor.java | Class | |
IndexGeometryAttribute.java | Class | |
SimpleFeatureBuilder.java | Class | This builder will help you put together a SimpleFeature. |
SimpleFeatureCollectionImpl.java | Class | |
SimpleFeatureCollectionTypeImpl.java | Class | |
SimpleFeatureFactoryImpl.java | Class | Construct specific types for SimpleFeatures. |
SimpleFeatureImpl.java | Class | An implementation of the SimpleFeature convience methods ontop of
FeatureImpl. |
SimpleFeatures.java | Class | Convenience class for working with or implementing with simple features. |
SimpleFeatureTypeImpl.java | Class | Implementation fo SimpleFeatureType, subtypes must be atomic and are stored
in a list. |
SimpleFeatureTypes.java | Class | Utility class for working with simple feature types. |
SimpleSchema.java | Class | Schema containing a simple set of types for import into
the SimpleFeatureBuilder.
These types represent a good choice for default java bindings, for data
sources that do not have specific or complicated needs. |
SimpleTypeBuilder.java | Class | Builder to ease creation of simple types.
For reference these are the limitations of a "Simple Feature" model:
- Properties limited to attributes only (no associations)
- Properties is a List - order of attributes matters
- Attribute "index" is as good as a Name
- Attribute "name" (ie String) is as good as Name
- No name conflict, so lookup with simple string is okay
- getSuper() is
null , required for safe use of index and
name
There are four methods to manage builder state:
-
init() - completly replace settings with builder defaul
-
init( PropertyType ) - completly replace settings from type
-
reset() - called after type creation to reset common type
settings
For examples of use please review the two type creation methods:
Several methods for adding attribute make use of a Class directly, this class
is used to lookup an AttributeType "binding" to be used as a prototype. |
SimpleTypeBuilderTest.java | Class | This test cases will check that the typeBuilder works as advertised.
This test uses the container set up for simple types implementation. |
SimpleTypeFactoryImpl.java | Class | This implementation is capable of creating a good default choice for
capturing SimpleFeatureType, the focus is on corretness rather then
efficiency or even strict error messages. |