org.openstreetmap.osmosis.core.domain.v0_6
Interface TagCollection

All Superinterfaces:
java.util.Collection<Tag>, java.lang.Iterable<Tag>, Storeable
All Known Implementing Classes:
TagCollectionImpl, UnmodifiableTagCollection

public interface TagCollection
extends java.util.Collection<Tag>, Storeable

An extension to basic Collection behaviour adding convenience methods for working with tags.

Author:
Brett Henderson

Method Summary
 java.util.Map<java.lang.String,java.lang.String> buildMap()
          Creates a map representation of the tags.
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface org.openstreetmap.osmosis.core.store.Storeable
store
 

Method Detail

buildMap

java.util.Map<java.lang.String,java.lang.String> buildMap()
Creates a map representation of the tags.

Returns:
The tags represented as a map.