org.geotools.feature
Interface FeatureCollectionIteration.Handler

All Known Implementing Classes:
FeatureTransformer.FeatureTranslator
Enclosing interface:
FeatureCollectionIteration

public static interface FeatureCollectionIteration.Handler

A callback handler for the iteration of the contents of a FeatureCollection.


Method Summary
 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(AttributeType type, java.lang.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

public void handleFeatureCollection(FeatureCollection fc)
The handler is visiting a FeatureCollection.

Parameters:
fc - The currently visited FeatureCollection.

endFeatureCollection

public void endFeatureCollection(FeatureCollection fc)
The handler is done visiting a FeatureCollection.

Parameters:
fc - The FeatureCollection which was visited.

handleFeature

public void handleFeature(Feature f)
The handler is visiting a Feature.

Parameters:
f - The Feature the handler is visiting.

endFeature

public void endFeature(Feature f)
The handler is ending its visit with a Feature.

Parameters:
f - The Feature that was visited.

handleAttribute

public void handleAttribute(AttributeType type,
                            java.lang.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.


Copyright © GeoTools. All Rights Reserved.