Class DefaultRoute

    • 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.String getBeginning()
      Returns markup beginnig of this element
      java.lang.String getCoordinates()
      Get the string representation of the route.
      Location getDestination()
      Get route's destination
      java.lang.String getElement()
      Returns markup KML representation of this element
      java.lang.String getEnding()
      Returns markup ending of this element
      KmlStyle getRouteStyle()
      Returns route's style
      GPS getStart()
      Get route's start
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultRoute

        public DefaultRoute​(GPS start,
                            Location destination,
                            java.lang.String kmlElement)
        Parameters:
        kmlElement -
    • Method Detail

      • getCoordinates

        public java.lang.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 java.lang.String getBeginning()
        Description copied from interface: KmlElement
        Returns markup beginnig of this element
        Specified by:
        getBeginning in interface KmlElement
        Returns:
        String
      • getElement

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

        public java.lang.String getEnding()
        Description copied from interface: KmlElement
        Returns markup ending of this element
        Specified by:
        getEnding in interface KmlElement
        Returns:
        String
      • 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