org.geotools.feature
Interface FeatureResultsIteration.Handler

Enclosing interface:
FeatureResultsIteration

public static interface FeatureResultsIteration.Handler

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


Method Summary
 void endFeature(org.geotools.feature.Feature f)
          The handler is ending its visit with a Feature.
 void endFeatureResults(org.geotools.data.FeatureResults fr)
          The handler is done visiting a FeatureResults
 void handleAttribute(org.geotools.feature.AttributeType type, java.lang.Object value)
          The handler is visiting an Attribute of a Feature.
 void handleFeature(org.geotools.feature.Feature f)
          The handler is visiting a Feature.
 void handleFeatureResults(org.geotools.data.FeatureResults fr, org.geotools.data.FeatureReader reader)
          The handler is visiting a FeatureResults.
 

Method Detail

handleFeatureResults

public void handleFeatureResults(org.geotools.data.FeatureResults fr,
                                 org.geotools.data.FeatureReader reader)
The handler is visiting a FeatureResults.

Parameters:
fr - The currently visited FeatureResults.

endFeatureResults

public void endFeatureResults(org.geotools.data.FeatureResults fr)
The handler is done visiting a FeatureResults

Parameters:
fr - The FeatureResults which was visited.

handleFeature

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

Parameters:
f - The Feature the handler is visiting.

endFeature

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

Parameters:
f - The Feature that was visited.

handleAttribute

public void handleAttribute(org.geotools.feature.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.