uk.me.parabola.mkgmap.reader.osm
Class Node

java.lang.Object
  extended by uk.me.parabola.mkgmap.reader.osm.Element
      extended by uk.me.parabola.mkgmap.reader.osm.Node
All Implemented Interfaces:
java.lang.Iterable<java.lang.String>

public class Node
extends Element

A node with its own identity. This is a node that is not just being used for its coordinates (in which case we just use Coord but has another use for example it might be a hospital or a candlestick maker.

Author:
Steve Ratcliffe

Constructor Summary
Node(long id, Coord co)
           
 
Method Summary
 Node copy()
           
 Coord getLocation()
           
 java.lang.String kind()
           
 java.lang.String toString()
           
 
Methods inherited from class uk.me.parabola.mkgmap.reader.osm.Element
addTag, copyTags, deleteTag, getEntryIteratable, getId, getName, getTag, getTagsWithPrefix, iterator, removeAllTags, setId, setName, toBrowseURL, toTagString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

public Node(long id,
            Coord co)
Method Detail

getLocation

public Coord getLocation()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

kind

public java.lang.String kind()
Overrides:
kind in class Element

copy

public Node copy()
Overrides:
copy in class Element