|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.util.CollectionWrapper<Tag>
org.openstreetmap.osmosis.core.domain.v0_6.TagCollectionImpl
public class TagCollectionImpl
Maintains a collection of tags.
Constructor Summary | |
---|---|
TagCollectionImpl()
Creates a new instance. |
|
TagCollectionImpl(java.util.Collection<? extends Tag> tags)
Creates a new instance. |
|
TagCollectionImpl(StoreReader sr,
StoreClassRegister scr)
Creates a new instance. |
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
buildMap()
Creates a map representation of the tags. |
void |
store(StoreWriter sw,
StoreClassRegister scr)
Stores all state to the specified store writer. |
Methods inherited from class org.openstreetmap.osmosis.core.util.CollectionWrapper |
---|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Collection |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Constructor Detail |
---|
public TagCollectionImpl()
public TagCollectionImpl(java.util.Collection<? extends Tag> tags)
tags
- The initial tags.public TagCollectionImpl(StoreReader sr, StoreClassRegister scr)
sr
- The store to read state from.scr
- Maintains the mapping between classes and their identifiers
within the store.Method Detail |
---|
public void store(StoreWriter sw, StoreClassRegister scr)
store
in interface Storeable
sw
- The writer that persists data to an underlying store.scr
- Maintains the mapping between classes and their identifiers
within the store.public java.util.Map<java.lang.String,java.lang.String> buildMap()
buildMap
in interface TagCollection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |