org.openstreetmap.osmosis.core.apidb.v0_6.impl
Class RelationMemberCollectionLoader

java.lang.Object
  extended by org.openstreetmap.osmosis.core.apidb.v0_6.impl.RelationMemberCollectionLoader
All Implemented Interfaces:
FeatureCollectionLoader<Relation,RelationMember>

public class RelationMemberCollectionLoader
extends java.lang.Object
implements FeatureCollectionLoader<Relation,RelationMember>

Loads relation members from relations.


Constructor Summary
RelationMemberCollectionLoader()
           
 
Method Summary
 java.util.Collection<RelationMember> getFeatureCollection(Relation entity)
          Gets the feature collection from the entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationMemberCollectionLoader

public RelationMemberCollectionLoader()
Method Detail

getFeatureCollection

public java.util.Collection<RelationMember> getFeatureCollection(Relation entity)
Gets the feature collection from the entity.

Specified by:
getFeatureCollection in interface FeatureCollectionLoader<Relation,RelationMember>
Parameters:
entity - The entity containing the collection.
Returns:
The feature collection.