com.googlecode.gwtmapquest.jsapi
Class MQRouteResults

java.lang.Object
  extended by JavaScriptObject
      extended by com.googlecode.gwtmapquest.jsapi.MQRouteResults

public final class MQRouteResults
extends JavaScriptObject


Constructor Summary
protected MQRouteResults()
           
 
Method Summary
 double getDistance()
          Returns the total distance for this maneuver.
 int getTime()
          Returns the total time for this maneuver.
 MQTrekRouteCollection getTrekRoutes()
          Returns the TrekRouteCollection member of this object.
 void loadXml(java.lang.String xml)
           
static MQRouteResults newInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MQRouteResults

protected MQRouteResults()
Method Detail

newInstance

public static MQRouteResults newInstance()

getDistance

public double getDistance()
Returns the total distance for this maneuver.

Returns:
total distance in miles

getTime

public int getTime()
Returns the total time for this maneuver.

Returns:
total time in seconds

getTrekRoutes

public MQTrekRouteCollection getTrekRoutes()
Returns the TrekRouteCollection member of this object.

Returns:
All TrekRoutes used in the route.

loadXml

public void loadXml(java.lang.String xml)