public class NullOsmEntityProvider extends Object implements OsmEntityProvider
Constructor and Description |
---|
NullOsmEntityProvider() |
Modifier and Type | Method and Description |
---|---|
OsmNode |
getNode(long id)
Get the node with the given id.
|
OsmRelation |
getRelation(long id)
Get the relation with the given id.
|
OsmWay |
getWay(long id)
Get the way with the given id.
|
public OsmNode getNode(long id) throws EntityNotFoundException
OsmEntityProvider
getNode
in interface OsmEntityProvider
id
- the node's id.EntityNotFoundException
- if the implementation cannot return this entity.public OsmWay getWay(long id) throws EntityNotFoundException
OsmEntityProvider
getWay
in interface OsmEntityProvider
id
- the way's idEntityNotFoundException
- if the implementation cannot return this entity.public OsmRelation getRelation(long id) throws EntityNotFoundException
OsmEntityProvider
getRelation
in interface OsmEntityProvider
id
- the relation's id.EntityNotFoundException
- if the implementation cannot return this entity.