com.gisgraphy.street

## Class StreetFactory

- java.lang.Object
- - 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

    Constructors
    Constructor and Description
    `StreetFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2015. All rights reserved.