Class DefaultRoute
- java.lang.Object
-
- de.hybris.platform.storelocator.route.impl.DefaultRoute
-
- All Implemented Interfaces:
KmlElement,KmlRoute,Route
public class DefaultRoute extends java.lang.Object implements Route
-
-
Constructor Summary
Constructors Constructor Description DefaultRoute(GPS start, Location destination, java.lang.String kmlElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBeginning()Returns markup beginnig of this elementjava.lang.StringgetCoordinates()Get the string representation of the route.LocationgetDestination()Get route's destinationjava.lang.StringgetElement()Returns markup KML representation of this elementjava.lang.StringgetEnding()Returns markup ending of this elementKmlStylegetRouteStyle()Returns route's styleGPSgetStart()Get route's start
-
-
-
Method Detail
-
getCoordinates
public java.lang.String getCoordinates()
Description copied from interface:RouteGet the string representation of the route. Contains implementation dependant data- Specified by:
getCoordinatesin interfaceRoute- Returns:
String
-
getBeginning
public java.lang.String getBeginning()
Description copied from interface:KmlElementReturns markup beginnig of this element- Specified by:
getBeginningin interfaceKmlElement- Returns:
- String
-
getElement
public java.lang.String getElement()
Description copied from interface:KmlElementReturns markup KML representation of this element- Specified by:
getElementin interfaceKmlElement- Returns:
- String
-
getEnding
public java.lang.String getEnding()
Description copied from interface:KmlElementReturns markup ending of this element- Specified by:
getEndingin interfaceKmlElement- Returns:
- String
-
getRouteStyle
public KmlStyle getRouteStyle()
Description copied from interface:KmlRouteReturns route's style- Specified by:
getRouteStylein interfaceKmlRoute- Returns:
KmlStyle
-
getDestination
public Location getDestination()
Description copied from interface:RouteGet route's destination- Specified by:
getDestinationin interfaceRoute- Returns:
- the destination
-
-