org.geotools.feature |
|
Java Source File Name | Type | Comment |
AttributeType.java | Interface |
Stores metadata about a single attribute object.
-
Name: A string that is used to reference the attribute.
-
Nillable: if nulls are allowed as this attribute.
-
Type: The expected Java class of this attribute.
AttributeTypes must also provide the validate(Object obj)
method, which determines whether a given object matches the constraints
imposed by the AttributeType. |
AttributeTypeFactory.java | Class | Abstract class for AttributeType factories. |
AttributeTypes.java | Class |
Proposal: AttributeType utilities class.
author: Luca S. |
AttributeTypeTest.java | Class | |
ChoiceAttrTypeTest.java | Class | Tests for the Choice attribute. |
CollectionEvent.java | Class | A simple event object to represent all events triggered by FeatureCollection
instances (typically change events). |
CollectionListener.java | Interface | Interface to be implemented by all listeners of CollectionEvents. |
DateUtilTest.java | Class | |
DefaultAttributeType.java | Class | Simple, immutable class to store attributes. |
DefaultAttributeTypeFactory.java | Class | Factory for creating DefaultAttributeTypes. |
DefaultFeature.java | Class | Provides a more efficient feature representation for the flat and complex
features. |
DefaultFeatureCollection.java | Class | A basic implementation of FeatureCollection which use a
TreeMap for
its internal storage. |
DefaultFeatureCollections.java | Class | Concrete extension to FeatureCollections to create
DefaultFeatureCollections. |
DefaultFeatureType.java | Class | A basic implementation of FeatureType. |
DefaultFeatureTypeFactory.java | Class | A simple DefaultFeatureTypeFactory which stores its Attributes in a list. |
Feature.java | Interface |
Represents a feature of arbitrary complexity.
This interface answers the question: How do we store feature attributes?
(The answer to the more useful question, How do we access feature attribute,
is contained in the Expression class.
Warning: We are revising the Feature Model to be more complete in the
next round of GeoTools. |
FeatureAttributeType.java | Interface | A FeatureType aware Feature AttributeType.
While we could use a plain AttributeType to capture a Feature instance we
would miss out one one important aspect: the schema.
By definition the schema of a Feature is not defined by java interface
alone, this interface allows access the the assocaited FeatureType.
Suggestion: we can look at having this class extend ListFeatureType and
exactly specifying how delegation to the getSchema() should occur. |
FeatureCollection.java | Interface | Represents a collection of features.
Implementations (and client code) should adhere to the rules set forth
by java.util.Collection. |
FeatureCollectionIteration.java | Class | The FeatureCollectionIteration provides a depth first traversal of a
FeatureCollection which will call the provided call-back Handler. |
FeatureCollections.java | Class | A utility class for working with FeatureCollections. |
FeatureCollectionTest.java | Class | |
FeatureComparators.java | Class | A utility class for creating simple Comparators for Features. |
FeatureDocument.java | Interface | |
FeatureFactory.java | Interface | An interface for the construction of Features.
Geotools 2.0: As Features always require a FeatureType the best place
to implement this is in the FeatureType itself,
thus the FeatureType interface extends this interface. |
FeatureFactoryImpl.java | Class | Factory for creating instances of the Attribute family of classes. |
FeatureFlatTest.java | Class | |
FeatureIndex.java | Interface | An Index is built up around a FeatureCollection, using one of the
attributes in the FeatureCollection as a comparable reference.
An object in a column can be any object, but must either be a java
base-type Object (Integer, String, Character, etc.) or implement
Comparable.
An Index built on such a column will sort its array of object
references using FeatureComparator. |
FeatureIterator.java | Interface | A drop in replacement for Iterator that does not require casting for Java 1.4 code. |
FeatureList.java | Interface | An ordered List of Features.
A FeatureList is usually retrived from a FeatureCollection with the
subCollection( Filter ) operation. |
FeatureReaderIterator.java | Class | An iterator that wraps around a FeatureReader. |
FeatureType.java | Interface | A metadata template for a Feature of arbitrary complexity.
Notes:
|
FeatureTypeBuilder.java | Class | A schema builder, because FeatureTypes are meant to be immutable, this
object is mutable.
The basic idea for usage is that you configure the builder to whatever state
is desired, setting properties and adding AttributeTypes. |
FeatureTypeFactory.java | Class | Replaced with use of FeatureTypeBuilder to follow standard pattern
naming conventions. |
FeatureTypeFactoryTest.java | Class | This simply tests and demonstrates how to make a new feature factory. |
FeatureTypes.java | Class | Utility methods for working against the FeatureType interface. |
FeatureTypeTest.java | Class | |
FeatureWrappedComplexTest.java | Class | Provides testing for a special type of Feature a Simple Feature wrapped in
Complex clothing. |
FlatFeatureFactorySpiTest.java | Class | |
GeometryAttributeType.java | Interface | A CoordinateSystem aware Geometry AttributeType.
This class is the bridge between our FeatureType/AttributeType
classes and the CoordianteSystem.
This also allows access to the GeometryFactory used by this
GeometryAttributeType parse( Object ) method.
With JTS14 you can use GeometryFactory to to provide your own
CoordianteSequence representation. |
IllegalAttributeException.java | Class | Indicates client class has attempted to create an invalid feature. |
IndexedFeatureCollection.java | Interface | An IndexedFeatureCollection extends the functionality of FeatureCollection
by allowing FeatureIndex attachement. |
MockFeatureCollection.java | Class | |
MockFeatureCollections.java | Class | |
MultiAttributeType.java | Class | Class to handle more than one occurance of an attribute. |
Name.java | Class | Simple implementation of Name, hope to bring in line with GenericName. |
PrimativeAttributeType.java | Interface | Adds the ability to have restrictions on a particular data primitive
in a declarative manner. |
SampleFeatureFixtures.java | Class | This is a support class which creates test features for use in testing. |
Schema.java | Class | This class contains utility methods focused on the schema represented by
the FeatureType data model.
These methods are often used for implementation the convience methods
such as FeatureType.getAttributeCount(), although they may be used directly
with any FeatureType.
These schema methods are based on the *complete* picture indicated by a FeatureType
and its ancestors. |
SchemaException.java | Class | Indicates client class has attempted to create an invalid schema. |
SimpleFeature.java | Interface | A simple feature is one that does not have any nested attributes, and that
has no multiplicity for each attribute. |
SimpleFeatureType.java | Class | A basic implementation of FeatureType. |