com.gisgraphy.street
Class StreetFactory

java.lang.Object
  extended by com.gisgraphy.street.StreetFactory
All Implemented Interfaces:
IStreetFactory

public class StreetFactory
extends Object
implements IStreetFactory

Factory to create a street from an openstreetMap entity

Author:
David Masclet

Constructor Summary
StreetFactory()
           
 
Method Summary
 Street create(OpenStreetMap openstreetmap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreetFactory

public StreetFactory()
Method Detail

create

public Street create(OpenStreetMap openstreetmap)
Specified by:
create in interface IStreetFactory
Parameters:
openstreetmap - the openstreetmap entity
Returns:
a street object full filled with the openstreetmap attributes


Copyright © 2012. All Rights Reserved.