Class DefaultRoute

java.lang.Object
de.hybris.platform.storelocator.route.impl.DefaultRoute
All Implemented Interfaces:
KmlElement, KmlRoute, Route

public class DefaultRoute extends Object implements Route
  • Constructor Details

    • DefaultRoute

      public DefaultRoute(GPS start, Location destination, String kmlElement)
      Parameters:
      kmlElement -
  • Method Details

    • getCoordinates

      public String getCoordinates()
      Description copied from interface: Route
      Get the string representation of the route. Contains implementation dependant data
      Specified by:
      getCoordinates in interface Route
      Returns:
      String
    • getBeginning

      public String getBeginning()
      Description copied from interface: KmlElement
      Returns markup beginnig of this element
      Specified by:
      getBeginning in interface KmlElement
      Returns:
      String
    • getElement

      public String getElement()
      Description copied from interface: KmlElement
      Returns markup KML representation of this element
      Specified by:
      getElement in interface KmlElement
      Returns:
      String
    • getEnding

      public String getEnding()
      Description copied from interface: KmlElement
      Returns markup ending of this element
      Specified by:
      getEnding in interface KmlElement
      Returns:
      String
    • getRouteStyle

      public KmlStyle getRouteStyle()
      Description copied from interface: KmlRoute
      Returns route's style
      Specified by:
      getRouteStyle in interface KmlRoute
      Returns:
      KmlStyle
    • getStart

      public GPS getStart()
      Description copied from interface: Route
      Get route's start
      Specified by:
      getStart in interface Route
      Returns:
      the start
    • getDestination

      public Location getDestination()
      Description copied from interface: Route
      Get route's destination
      Specified by:
      getDestination in interface Route
      Returns:
      the destination