Class OSMTag

java.lang.Object
org.opentrafficsim.road.network.factory.osm.OSMTag
All Implemented Interfaces:
Serializable

public class OSMTag
extends Object
implements Serializable

Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

$LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1155 $, by $Author: averbraeck $, initial version 31 dec. 2014

Author:
Moritz Bergmann
See Also:
Serialized Form
  • Constructor Details

    • OSMTag

      public OSMTag​(String key, String value)
      Construct a new OSMTag.
      Parameters:
      key - String; the key of the new OSMTag
      value - String; the value of the new OSMTag
  • Method Details

    • getValue

      public final String getValue()
      Retrieve the value of this OSMTag.
      Returns:
      String; the value of this OSMTag
    • getKey

      public final String getKey()
      Retrieve the key of this OSMTag.
      Returns:
      String; the key of this OSMTag
    • toString

      public final String toString()
      Overrides:
      toString in class Object