org.openstreetmap.osmosis.core.apidb.v0_6.impl
Class TagCollectionLoader<T extends Entity>

java.lang.Object
  extended by org.openstreetmap.osmosis.core.apidb.v0_6.impl.TagCollectionLoader<T>
Type Parameters:
T - The type of entity.
All Implemented Interfaces:
FeatureCollectionLoader<T,Tag>

public class TagCollectionLoader<T extends Entity>
extends java.lang.Object
implements FeatureCollectionLoader<T,Tag>

Loads tags from entities.


Constructor Summary
TagCollectionLoader()
           
 
Method Summary
 java.util.Collection<Tag> getFeatureCollection(T 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

TagCollectionLoader

public TagCollectionLoader()
Method Detail

getFeatureCollection

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

Specified by:
getFeatureCollection in interface FeatureCollectionLoader<T extends Entity,Tag>
Parameters:
entity - The entity containing the collection.
Returns:
The feature collection.