|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.tasks.ags.na.RoutingDirection
public class RoutingDirection
Class containing the relevant information for one direction of a route
Constructor Summary | |
---|---|
RoutingDirection()
Empty Constructor |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
static RoutingDirection |
fromJson(org.codehaus.jackson.JsonParser parser)
Creates a RoutingDirection object from a json representation |
List<DirectionsString> |
getDirectionsStrings()
Gets the detailed direction info passed back from a route solving operation. |
long |
getEta()
Gets the estimated arrival time for this segment of the route |
Geometry |
getGeometry()
Decompresses the geometry for the route direction and returns it. |
double |
getLength()
Gets the length of this segment of the route |
RoutingManeuver |
getManeuver()
Gets the maneuver used to perform this direction (E.g. |
String |
getText()
Gets the textual representation of the direction (e.g. |
double |
getTime()
Gets the time this segment of the route will take to traverse |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoutingDirection()
Method Detail |
---|
public double getLength()
public double getTime()
public List<DirectionsString> getDirectionsStrings()
public String getText()
public long getEta()
public RoutingManeuver getManeuver()
public Geometry getGeometry()
public static RoutingDirection fromJson(org.codehaus.jackson.JsonParser parser) throws Exception
parser
- the parser containing the json
Exception
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |