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

java.lang.Object
  extended by org.openstreetmap.osmosis.core.apidb.v0_6.impl.WayNodeCollectionLoader
All Implemented Interfaces:
FeatureCollectionLoader<Way,WayNode>

public class WayNodeCollectionLoader
extends java.lang.Object
implements FeatureCollectionLoader<Way,WayNode>

Loads way nodes from ways.


Constructor Summary
WayNodeCollectionLoader()
           
 
Method Summary
 java.util.Collection<WayNode> getFeatureCollection(Way 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

WayNodeCollectionLoader

public WayNodeCollectionLoader()
Method Detail

getFeatureCollection

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

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