org.openstreetmap.osmosis.core.apidb.v0_6.impl
Interface FeatureCollectionLoader<Te,Tf>

Type Parameters:
Te - The type of entity.
Tf - The type of feature.
All Known Implementing Classes:
RelationMemberCollectionLoader, TagCollectionLoader, WayNodeCollectionLoader

public interface FeatureCollectionLoader<Te,Tf>

Retrieves feature collections from entities. This allows feature collections to be loaded in a generic way without requiring knowledge of the type of feature being dealt with.


Method Summary
 java.util.Collection<Tf> getFeatureCollection(Te entity)
          Gets the feature collection from the entity.
 

Method Detail

getFeatureCollection

java.util.Collection<Tf> getFeatureCollection(Te entity)
Gets the feature collection from the entity.

Parameters:
entity - The entity containing the collection.
Returns:
The feature collection.