|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.domain.v0_6.Tag
public class Tag
A data class representing a single OSM tag.
| Constructor Summary | |
|---|---|
Tag(StoreReader sr,
StoreClassRegister scr)
Creates a new instance. |
|
Tag(java.lang.String key,
java.lang.String value)
Creates a new instance. |
|
| Method Summary | |
|---|---|
int |
compareTo(Tag tag)
Compares this tag to the specified tag. |
java.lang.String |
getKey()
|
java.lang.String |
getValue()
|
void |
store(StoreWriter sw,
StoreClassRegister scr)
Stores all state to the specified store writer. |
java.lang.String |
toString()
$. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Tag(java.lang.String key,
java.lang.String value)
key - The key identifying the tag.value - The value associated with the tag.
public Tag(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 Storeablesw - The writer that persists data to an underlying store.scr - Maintains the mapping between classes and their identifiers
within the store.public int compareTo(Tag tag)
compareTo in interface java.lang.Comparable<Tag>tag - The tag to compare to.
public java.lang.String getKey()
public java.lang.String getValue()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||