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
 void endFeature(org.opengis.feature.simple.SimpleFeature f)
          The handler is ending its visit with a Feature.
 void endFeatureCollection(FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> fc)
          The handler is done visiting a FeatureCollection.
 void handleAttribute(org.opengis.feature.type.AttributeDescriptor type, java.lang.Object value)
          The handler is visiting an Attribute of a Feature.
 void handleFeature(org.opengis.feature.simple.SimpleFeature f)
          The handler is visiting a Feature.
 void handleFeatureCollection(FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> fc)
          The handler is visiting a FeatureCollection.
 

Method Detail

handleFeatureCollection

void handleFeatureCollection(FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> fc)
The handler is visiting a FeatureCollection.

Parameters:
fc - The currently visited FeatureCollection.

endFeatureCollection

void endFeatureCollection(FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> fc)
The handler is done visiting a FeatureCollection.

Parameters:
fc - The FeatureCollection which was visited.

handleFeature

void handleFeature(org.opengis.feature.simple.SimpleFeature f)
The handler is visiting a Feature.

Parameters:
f - The Feature the handler is visiting.

endFeature

void endFeature(org.opengis.feature.simple.SimpleFeature f)
The handler is ending its visit with a Feature.

Parameters:
f - The Feature that was visited.

handleAttribute

void handleAttribute(org.opengis.feature.type.AttributeDescriptor 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 © 1996-2010 Geotools. All Rights Reserved.