Package org.geotools.feature
Interface FeatureCollectionIteration.Handler
-
- All Known Implementing Classes:
FeatureTransformer.FeatureTranslator
- Enclosing class:
- FeatureCollectionIteration
public static interface FeatureCollectionIteration.Handler
A callback handler for the iteration of the contents of a FeatureCollection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
endFeature(Feature f)
The handler is ending its visit with a Feature.void
endFeatureCollection(FeatureCollection<?,?> fc)
The handler is done visiting a FeatureCollection.void
handleAttribute(PropertyDescriptor type, Object value)
The handler is visiting an Attribute of a Feature.void
handleFeature(Feature f)
The handler is visiting a Feature.void
handleFeatureCollection(FeatureCollection<?,?> fc)
The handler is visiting a FeatureCollection.
-
-
-
Method Detail
-
handleFeatureCollection
void handleFeatureCollection(FeatureCollection<?,?> fc)
The handler is visiting a FeatureCollection.- Parameters:
fc
- The currently visited FeatureCollection.
-
endFeatureCollection
void endFeatureCollection(FeatureCollection<?,?> fc)
The handler is done visiting a FeatureCollection.- Parameters:
fc
- The SimpleFeatureCollection which was visited.
-
handleFeature
void handleFeature(Feature f)
The handler is visiting a Feature.- Parameters:
f
- The Feature the handler is visiting.
-
endFeature
void endFeature(Feature f)
The handler is ending its visit with a Feature.- Parameters:
f
- The Feature that was visited.
-
handleAttribute
void handleAttribute(PropertyDescriptor type, Object value)
The handler is visiting an Attribute of a Feature.- Parameters:
type
- The meta-data of the given attribute value.value
- The attribute value, may be null.
-
-