Class Tag

java.lang.Object
org.openstreetmap.josm.data.osm.Tag
All Implemented Interfaces:
Serializable, Map.Entry<String,String>, Tagged

public class Tag extends Object implements Tagged, Map.Entry<String,String>, Serializable
Tag represents an immutable key/value-pair. Both the key and the value may be empty, but not null.

It implements the Tagged interface. However, since instances of this class are immutable, the modifying methods throw an UnsupportedOperationException.

See Also: