Package org.geotools.feature
Class ComplexFeatureBuilder
The complex feature builder allows the construction of features by progressively appending their components and
deferring the construction till you're ready.
- Author:
- Adam Brown (Curtin University of Technology)
-
Field Summary
Fields inherited from class FeatureBuilder
factory, featureType
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ComplexFeatureBuilder
(AttributeDescriptor ad, FeatureFactory factory) ComplexFeatureBuilder
(FeatureType featureType) protected
ComplexFeatureBuilder
(FeatureType featureType, FeatureFactory factory) -
Method Summary
Methods inherited from class FeatureBuilder
convert, createDefaultFeatureId, createDefaultFeatureIdentifier, getFeatureType
-
Constructor Details
-
ComplexFeatureBuilder
-
ComplexFeatureBuilder
-
ComplexFeatureBuilder
-
ComplexFeatureBuilder
-
-
Method Details
-
buildFeature
Build and return the feature you've been constructing. If the id is null it will be assigned from FeatureBuilder.createDefaultFeatureId().- Specified by:
buildFeature
in classFeatureBuilder<FeatureType,
Feature>
-
append
Append a property value to the complex feature under construction and associate it with the name specified.- Parameters:
name
- The name of the property you wish to set.value
- The value of the property to append.
-