Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.spatial.router
Class ManeuverStructured

java.lang.Object
  |
  +--oracle.panama.spatial.router.Maneuver
        |
        +--oracle.panama.spatial.router.ManeuverStructured
All Implemented Interfaces:
java.io.Serializable

public class ManeuverStructured
extends Maneuver
See Also:
Serialized Form

Field Summary
static java.lang.String ACTIONTYPE_BEAR
           
static java.lang.String ACTIONTYPE_CONTINUE
           
static java.lang.String ACTIONTYPE_EXIT
           
static java.lang.String ACTIONTYPE_FERRY
           
static java.lang.String ACTIONTYPE_MERGE
           
static java.lang.String ACTIONTYPE_START
           
static java.lang.String ACTIONTYPE_TURN
           
static java.lang.String ACTIONTYPE_UTURN
           
static java.lang.String DIRECTION_E
           
static java.lang.String DIRECTION_LEFT
           
static java.lang.String DIRECTION_N
           
static java.lang.String DIRECTION_NE
           
static java.lang.String DIRECTION_NW
           
static java.lang.String DIRECTION_RIGHT
           
static java.lang.String DIRECTION_S
           
static java.lang.String DIRECTION_SE
           
static java.lang.String DIRECTION_SHARP_LEFT
           
static java.lang.String DIRECTION_SHARP_RIGHT
           
static java.lang.String DIRECTION_SLIGHT_LEFT
           
static java.lang.String DIRECTION_SLIGHT_RIGHT
           
static java.lang.String DIRECTION_STRAIGHT
           
static java.lang.String DIRECTION_SW
           
static java.lang.String DIRECTION_W
           
static java.lang.String ROADCATEGORY_FERRY_RAIL
           
static java.lang.String ROADCATEGORY_FERRY_WATER
           
static java.lang.String ROADCATEGORY_MOTORWAY
           
static java.lang.String ROADCATEGORY_RAMP
           
static java.lang.String ROADCATEGORY_ROAD
           
static java.lang.String ROADCATEGORY_TRAFFIC_CIRCLE
           
static java.lang.String ROADCATEGORY_TUNNEL
           
static java.lang.String ROADTYPE_COURT
           
static java.lang.String ROADTYPE_EXPRESSWAY
           
static java.lang.String ROADTYPE_FREEWAY
           
static java.lang.String ROADTYPE_LANE
           
static java.lang.String ROADTYPE_PARKWAY
           
static java.lang.String ROADTYPE_ROAD
           
static java.lang.String ROADTYPE_STREET
           
static java.lang.String ROADTYPE_THROUGHWAY
           
static java.lang.String ROADTYPE_TURNPIKE
           

 

Constructor Summary
ManeuverStructured(double distance, java.awt.Image mapImg, java.net.URL mapImgURL, Point[] geometry, java.lang.String actionType, java.lang.String directionLR, java.lang.String directionNS, java.lang.String distToActionInMeters, java.lang.String timeToActionInSeconds, java.lang.String numExitsBeforeAction, java.util.List signsBeforeAction, java.lang.String distAfterActionInMeters, java.lang.String timeAfterActionInSeconds, java.lang.String currentRoadName, java.lang.String targetRoadName, java.lang.String currentRoadType, java.lang.String targetRoadType, java.lang.String currentRoadCategory, java.lang.String targetRoadCategory, java.lang.String currentRoadOrientation, java.lang.String targetRoadOrientation, java.lang.String exitNum)
          Constructor for a structured maneuver.
ManeuverStructured(java.lang.String flatNarrative, double distance, java.awt.Image mapImg, java.net.URL mapImgURL, Point[] geometry, java.lang.String actionType, java.lang.String directionLR, java.lang.String directionNS, java.lang.String distToActionInMeters, java.lang.String timeToActionInSeconds, java.lang.String numExitsBeforeAction, java.util.List signsBeforeAction, java.lang.String distAfterActionInMeters, java.lang.String timeAfterActionInSeconds, java.lang.String currentRoadName, java.lang.String targetRoadName, java.lang.String currentRoadType, java.lang.String targetRoadType, java.lang.String currentRoadCategory, java.lang.String targetRoadCategory, java.lang.String currentRoadOrientation, java.lang.String targetRoadOrientation, java.lang.String exitNum)
          Constructor for a structured maneuver.
ManeuverStructured(java.lang.String flatNarrative, double distance, int distUnit, java.awt.Image mapImg, java.net.URL mapImgURL, Point[] geometry, java.lang.String actionType, java.lang.String directionLR, java.lang.String directionNS, java.lang.String distToActionInMeters, java.lang.String timeToActionInSeconds, java.lang.String numExitsBeforeAction, java.util.List signsBeforeAction, java.lang.String distAfterActionInMeters, java.lang.String timeAfterActionInSeconds, java.lang.String currentRoadName, java.lang.String targetRoadName, java.lang.String currentRoadType, java.lang.String targetRoadType, java.lang.String currentRoadCategory, java.lang.String targetRoadCategory, java.lang.String currentRoadOrientation, java.lang.String targetRoadOrientation, java.lang.String exitNum)
           

 

Method Summary
 java.lang.String getActionType()
          This returns the actionType component.
 java.lang.String getCurrentRoadCategory()
          This returns the currentRoadCategory component.
 java.lang.String getCurrentRoadName()
          This returns the currentRoadName component.
 java.lang.String getCurrentRoadOrientation()
          This returns the targetRoadCategory component.
 java.lang.String getCurrentRoadType()
          This returns the currentRoadType component.
 java.lang.String getDirectionLR()
          This returns the directionLR component.
 java.lang.String getDirectionNS()
          This returns the directionNS component.
 java.lang.String getDistAfterActionInMeters()
          This returns the distAfterActionInMeters component.
 java.lang.String getDistToActionInMeters()
          This returns the distToActionInMeters component.
 java.lang.String getExitNum()
          This returns the exitNum component.
 java.lang.String getNumExitsBeforeAction()
          This returns the numExitsBeforeAction component.
 java.util.List getSignsBeforeAction()
          This returns the signsBeforeAction component.
 java.lang.String getTargetRoadCategory()
          This returns the targetRoadCategory component.
 java.lang.String getTargetRoadName()
          This returns the targetRoadName component.
 java.lang.String getTargetRoadOrientation()
          This returns the targetRoadOrientation component.
 java.lang.String getTargetRoadType()
          This returns the targetRoadType component.
 java.lang.String getTimeAfterActionInSeconds()
          This returns the timeAfterActionInSeconds component.
 java.lang.String getTimeToActionInSeconds()
          This returns the timeToActionInSeconds component.
 void setActionType(java.lang.String sActionType)
          This sets the actionType component.
 void setCurrentRoadName(java.lang.String sCurrentRoadName)
          This sets the currentRoadName component.
 void setTargetRoadName(java.lang.String sTargetRoadName)
          This sets the targetRoadName component.

 

Methods inherited from class oracle.panama.spatial.router.Maneuver
getDistance, getDistanceInMeters, getManeuverGeometry, getManeuverMap, getManeuverMapURL, getNarrative, toString, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

ACTIONTYPE_START

public static final java.lang.String ACTIONTYPE_START
See Also:
Constant Field Values

ACTIONTYPE_CONTINUE

public static final java.lang.String ACTIONTYPE_CONTINUE
See Also:
Constant Field Values

ACTIONTYPE_MERGE

public static final java.lang.String ACTIONTYPE_MERGE
See Also:
Constant Field Values

ACTIONTYPE_BEAR

public static final java.lang.String ACTIONTYPE_BEAR
See Also:
Constant Field Values

ACTIONTYPE_TURN

public static final java.lang.String ACTIONTYPE_TURN
See Also:
Constant Field Values

ACTIONTYPE_UTURN

public static final java.lang.String ACTIONTYPE_UTURN
See Also:
Constant Field Values

ACTIONTYPE_EXIT

public static final java.lang.String ACTIONTYPE_EXIT
See Also:
Constant Field Values

ACTIONTYPE_FERRY

public static final java.lang.String ACTIONTYPE_FERRY
See Also:
Constant Field Values

DIRECTION_SLIGHT_LEFT

public static final java.lang.String DIRECTION_SLIGHT_LEFT
See Also:
Constant Field Values

DIRECTION_SLIGHT_RIGHT

public static final java.lang.String DIRECTION_SLIGHT_RIGHT
See Also:
Constant Field Values

DIRECTION_SHARP_LEFT

public static final java.lang.String DIRECTION_SHARP_LEFT
See Also:
Constant Field Values

DIRECTION_SHARP_RIGHT

public static final java.lang.String DIRECTION_SHARP_RIGHT
See Also:
Constant Field Values

DIRECTION_LEFT

public static final java.lang.String DIRECTION_LEFT
See Also:
Constant Field Values

DIRECTION_RIGHT

public static final java.lang.String DIRECTION_RIGHT
See Also:
Constant Field Values

DIRECTION_STRAIGHT

public static final java.lang.String DIRECTION_STRAIGHT
See Also:
Constant Field Values

DIRECTION_N

public static final java.lang.String DIRECTION_N
See Also:
Constant Field Values

DIRECTION_S

public static final java.lang.String DIRECTION_S
See Also:
Constant Field Values

DIRECTION_W

public static final java.lang.String DIRECTION_W
See Also:
Constant Field Values

DIRECTION_E

public static final java.lang.String DIRECTION_E
See Also:
Constant Field Values

DIRECTION_NW

public static final java.lang.String DIRECTION_NW
See Also:
Constant Field Values

DIRECTION_NE

public static final java.lang.String DIRECTION_NE
See Also:
Constant Field Values

DIRECTION_SW

public static final java.lang.String DIRECTION_SW
See Also:
Constant Field Values

DIRECTION_SE

public static final java.lang.String DIRECTION_SE
See Also:
Constant Field Values

ROADCATEGORY_ROAD

public static final java.lang.String ROADCATEGORY_ROAD
See Also:
Constant Field Values

ROADCATEGORY_MOTORWAY

public static final java.lang.String ROADCATEGORY_MOTORWAY
See Also:
Constant Field Values

ROADCATEGORY_RAMP

public static final java.lang.String ROADCATEGORY_RAMP
See Also:
Constant Field Values

ROADCATEGORY_FERRY_WATER

public static final java.lang.String ROADCATEGORY_FERRY_WATER
See Also:
Constant Field Values

ROADCATEGORY_FERRY_RAIL

public static final java.lang.String ROADCATEGORY_FERRY_RAIL
See Also:
Constant Field Values

ROADCATEGORY_TRAFFIC_CIRCLE

public static final java.lang.String ROADCATEGORY_TRAFFIC_CIRCLE
See Also:
Constant Field Values

ROADCATEGORY_TUNNEL

public static final java.lang.String ROADCATEGORY_TUNNEL
See Also:
Constant Field Values

ROADTYPE_PARKWAY

public static final java.lang.String ROADTYPE_PARKWAY
See Also:
Constant Field Values

ROADTYPE_LANE

public static final java.lang.String ROADTYPE_LANE
See Also:
Constant Field Values

ROADTYPE_FREEWAY

public static final java.lang.String ROADTYPE_FREEWAY
See Also:
Constant Field Values

ROADTYPE_STREET

public static final java.lang.String ROADTYPE_STREET
See Also:
Constant Field Values

ROADTYPE_EXPRESSWAY

public static final java.lang.String ROADTYPE_EXPRESSWAY
See Also:
Constant Field Values

ROADTYPE_THROUGHWAY

public static final java.lang.String ROADTYPE_THROUGHWAY
See Also:
Constant Field Values

ROADTYPE_TURNPIKE

public static final java.lang.String ROADTYPE_TURNPIKE
See Also:
Constant Field Values

ROADTYPE_COURT

public static final java.lang.String ROADTYPE_COURT
See Also:
Constant Field Values

ROADTYPE_ROAD

public static final java.lang.String ROADTYPE_ROAD
See Also:
Constant Field Values
Constructor Detail

ManeuverStructured

public ManeuverStructured(java.lang.String flatNarrative,
                          double distance,
                          java.awt.Image mapImg,
                          java.net.URL mapImgURL,
Point[] geometry,
                          java.lang.String actionType,
                          java.lang.String directionLR,
                          java.lang.String directionNS,
                          java.lang.String distToActionInMeters,
                          java.lang.String timeToActionInSeconds,
                          java.lang.String numExitsBeforeAction,
                          java.util.List signsBeforeAction,
                          java.lang.String distAfterActionInMeters,
                          java.lang.String timeAfterActionInSeconds,
                          java.lang.String currentRoadName,
                          java.lang.String targetRoadName,
                          java.lang.String currentRoadType,
                          java.lang.String targetRoadType,
                          java.lang.String currentRoadCategory,
                          java.lang.String targetRoadCategory,
                          java.lang.String currentRoadOrientation,
                          java.lang.String targetRoadOrientation,
                          java.lang.String exitNum)
Constructor for a structured maneuver. Use this constructor if you can supply a flat narrative in addition to the components.
Parameters:
flatNarrative - a String representing the flat narrative for the maneuver (such as "turn right onto Main St after 1 mile")
distance - a double representing the distance the maneuver covers (in the distance unit specified in the routing result this maneuver is a part of)
mapImg - an Image representing the map image (typically null, though)
mapImgURL - a URL representing the map image URL (might be null for some providers)
geometry - a Point[] representing the geometry (point list) along the maneuver (might be null for some providers)
actionType - a String representing the type of action required for the maneuver (possible values are ACTIONTYPE_START, ACTIONTYPE_CONTINUE, ACTIONTYPE_MERGE, ACTIONTYPE_BEAR, ACTIONTYPE_TURN, ACTIONTYPE_UTURN, ACTIONTYPE_EXIT, ACTIONTYPE_FERRY)
directionLR - a String representing the direction to turn (possible values are DIRECTION_SLIGHT_LEFT, DIRECTION_SLIGHT_RIGHT, DIRECTION_SHARP_LEFT, DIRECTION_SHARP_RIGHT, DIRECTION_LEFT, DIRECTION_RIGHT, DIRECTION_STRAIGHT)
directionNS - a String representing the direction to turn (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E, DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)
distToActionInMeters - a String representing the distance (in meters) to where the driver has to perform the core maneuver (such as taking the actual turn)
timeToActionInSeconds - a String representing the time (in seconds) before the driver has to perform the core maneuver (such as taking the actual turn)
numExitsBeforeAction - a String representing the number of exits before the actual maneuver (counting exits is especially helpful for shorter maneuvers)
signsBeforeAction - a List representing the Strings of messages on the street sign predicting the turn
distAfterActionInMeters - a String representing the distance (in meters) to simply continue after the actual maneuver (such as a turn)
timeAfterActionInSeconds - a String representing the time (in seconds) to simply continue after the actual maneuver (such as a turn)
currentRoadName - a String representing the name of the current road (you are on)
targetRoadName - a String representing the name of the target road (you would like to get onto)
currentRoadType - a String representing the type of the current road (you are on) (possible values are ROADTYPE_PARKWAY, ROADTYPE_LANE, ROADTYPE_FREEWAY, ROADTYPE_STREET, ROADTYPE_EXPRESSWAY, ROADTYPE_THROUGHWAY, ROADTYPE_TURNPIKE, ROADTYPE_COURT, ROADTYPE_ROAD)
targetRoadType - a String representing the type of the target road (you would like to get onto) (possible values are ROADTYPE_PARKWAY, ROADTYPE_LANE, ROADTYPE_FREEWAY, ROADTYPE_STREET, ROADTYPE_EXPRESSWAY, ROADTYPE_THROUGHWAY, ROADTYPE_TURNPIKE, ROADTYPE_COURT, ROADTYPE_ROAD)
currentRoadCategory - a String representing the category of the current road (you are on) (possible values are ROADCATEGORY_ROAD, ROADCATEGORY_MOTORWAY, ROADCATEGORY_RAMP, ROADCATEGORY_FERRY_WATER, ROADCATEGORY_FERRY_RAIL, ROADCATEGORY_TRAFFIC_CIRCLE, ROADCATEGORY_TUNNEL)
targetRoadCategory - a String representing the category of the target road (you would like to get onto) (possible values are ROADCATEGORY_ROAD, ROADCATEGORY_MOTORWAY, ROADCATEGORY_RAMP, ROADCATEGORY_FERRY_WATER, ROADCATEGORY_FERRY_RAIL, ROADCATEGORY_TRAFFIC_CIRCLE, ROADCATEGORY_TUNNEL)
currentRoadOrientation - a String representing the orientation of the current road (you are on) (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E; less commonly also: DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)
targetRoadOrientation - a String representing the orientation of the target road (you would like to get onto) (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E; less commonly also: DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)
exitNum - a String representing the number of the exit (note that this is different from numExitsBeforeAction)

ManeuverStructured

public ManeuverStructured(java.lang.String flatNarrative,
                          double distance,
                          int distUnit,
                          java.awt.Image mapImg,
                          java.net.URL mapImgURL,
Point[] geometry,
                          java.lang.String actionType,
                          java.lang.String directionLR,
                          java.lang.String directionNS,
                          java.lang.String distToActionInMeters,
                          java.lang.String timeToActionInSeconds,
                          java.lang.String numExitsBeforeAction,
                          java.util.List signsBeforeAction,
                          java.lang.String distAfterActionInMeters,
                          java.lang.String timeAfterActionInSeconds,
                          java.lang.String currentRoadName,
                          java.lang.String targetRoadName,
                          java.lang.String currentRoadType,
                          java.lang.String targetRoadType,
                          java.lang.String currentRoadCategory,
                          java.lang.String targetRoadCategory,
                          java.lang.String currentRoadOrientation,
                          java.lang.String targetRoadOrientation,
                          java.lang.String exitNum)

ManeuverStructured

public ManeuverStructured(double distance,
                          java.awt.Image mapImg,
                          java.net.URL mapImgURL,
Point[] geometry,
                          java.lang.String actionType,
                          java.lang.String directionLR,
                          java.lang.String directionNS,
                          java.lang.String distToActionInMeters,
                          java.lang.String timeToActionInSeconds,
                          java.lang.String numExitsBeforeAction,
                          java.util.List signsBeforeAction,
                          java.lang.String distAfterActionInMeters,
                          java.lang.String timeAfterActionInSeconds,
                          java.lang.String currentRoadName,
                          java.lang.String targetRoadName,
                          java.lang.String currentRoadType,
                          java.lang.String targetRoadType,
                          java.lang.String currentRoadCategory,
                          java.lang.String targetRoadCategory,
                          java.lang.String currentRoadOrientation,
                          java.lang.String targetRoadOrientation,
                          java.lang.String exitNum)
Constructor for a structured maneuver. Use this constructor if you cannot supply a flat narrative in addition to the components. The flat narrative will be automatically created from the components.
Parameters:
distance - a double representing the distance the maneuver covers (in the distance unit specified in the routing result this maneuver is a part of)
mapImg - an Image representing the map image (typically null, though)
mapImgURL - a URL representing the map image URL (might be null for some providers)
geometry - a Point[] representing the geometry (point list) along the maneuver (might be null for some providers)
actionType - a String representing the type of action required for the maneuver (possible values are ACTIONTYPE_START, ACTIONTYPE_CONTINUE, ACTIONTYPE_MERGE, ACTIONTYPE_BEAR, ACTIONTYPE_TURN, ACTIONTYPE_UTURN, ACTIONTYPE_EXIT, ACTIONTYPE_FERRY)
directionLR - a String representing the direction to turn (possible values are DIRECTION_SLIGHT_LEFT, DIRECTION_SLIGHT_RIGHT, DIRECTION_SHARP_LEFT, DIRECTION_SHARP_RIGHT, DIRECTION_LEFT, DIRECTION_RIGHT, DIRECTION_STRAIGHT)
directionNS - a String representing the direction to turn (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E, DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)
distToActionInMeters - a String representing the distance (in meters) to where the driver has to perform the core maneuver (such as taking the actual turn)
timeToActionInSeconds - a String representing the time (in seconds) before the driver has to perform the core maneuver (such as taking the actual turn)
numExitsBeforeAction - a String representing the number of exits before the actual maneuver (counting exits is especially helpful for shorter maneuvers)
signsBeforeAction - a List representing the Strings of messages on the street sign predicting the turn
distAfterActionInMeters - a String representing the distance (in meters) to simply continue after the actual maneuver (such as a turn)
timeAfterActionInSeconds - a String representing the time (in seconds) to simply continue after the actual maneuver (such as a turn)
currentRoadName - a String representing the name of the current road (you are on)
targetRoadName - a String representing the name of the target road (you would like to get onto)
currentRoadType - a String representing the type of the current road (you are on) (possible values are ROADTYPE_PARKWAY, ROADTYPE_LANE, ROADTYPE_FREEWAY, ROADTYPE_STREET, ROADTYPE_EXPRESSWAY, ROADTYPE_THROUGHWAY, ROADTYPE_TURNPIKE, ROADTYPE_COURT, ROADTYPE_ROAD)
targetRoadType - a String representing the type of the target road (you would like to get onto) (possible values are ROADTYPE_PARKWAY, ROADTYPE_LANE, ROADTYPE_FREEWAY, ROADTYPE_STREET, ROADTYPE_EXPRESSWAY, ROADTYPE_THROUGHWAY, ROADTYPE_TURNPIKE, ROADTYPE_COURT, ROADTYPE_ROAD)
currentRoadCategory - a String representing the category of the current road (you are on) (possible values are ROADCATEGORY_ROAD, ROADCATEGORY_MOTORWAY, ROADCATEGORY_RAMP, ROADCATEGORY_FERRY_WATER, ROADCATEGORY_FERRY_RAIL, ROADCATEGORY_TRAFFIC_CIRCLE, ROADCATEGORY_TUNNEL)
targetRoadCategory - a String representing the category of the target road (you would like to get onto) (possible values are ROADCATEGORY_ROAD, ROADCATEGORY_MOTORWAY, ROADCATEGORY_RAMP, ROADCATEGORY_FERRY_WATER, ROADCATEGORY_FERRY_RAIL, ROADCATEGORY_TRAFFIC_CIRCLE, ROADCATEGORY_TUNNEL)
currentRoadOrientation - a String representing the orientation of the current road (you are on) (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E; less commonly also: DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)
targetRoadOrientation - a String representing the orientation of the target road (you would like to get onto) (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E; less commonly also: DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)
exitNum - a String representing the number of the exit (note that this is different from numExitsBeforeAction)
Method Detail

getActionType

public java.lang.String getActionType()
This returns the actionType component.
Returns:
a String representing the type of action required for the maneuver (possible values are ACTIONTYPE_START, ACTIONTYPE_CONTINUE, ACTIONTYPE_MERGE, ACTIONTYPE_BEAR, ACTIONTYPE_TURN, ACTIONTYPE_UTURN, ACTIONTYPE_EXIT, ACTIONTYPE_FERRY)

setActionType

public void setActionType(java.lang.String sActionType)
This sets the actionType component.
Parameters:
sActionType - a String representing the type of action required for the maneuver (possible values are ACTIONTYPE_START, ACTIONTYPE_CONTINUE, ACTIONTYPE_MERGE, ACTIONTYPE_BEAR, ACTIONTYPE_TURN, ACTIONTYPE_UTURN, ACTIONTYPE_EXIT, ACTIONTYPE_FERRY)

getDirectionLR

public java.lang.String getDirectionLR()
This returns the directionLR component.
Returns:
a String representing the direction to turn (possible values are DIRECTION_SLIGHT_LEFT, DIRECTION_SLIGHT_RIGHT, DIRECTION_SHARP_LEFT, DIRECTION_SHARP_RIGHT, DIRECTION_LEFT, DIRECTION_RIGHT, DIRECTION_STRAIGHT)

getDirectionNS

public java.lang.String getDirectionNS()
This returns the directionNS component.
Returns:
a String representing the direction to turn (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E, DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)

getDistToActionInMeters

public java.lang.String getDistToActionInMeters()
This returns the distToActionInMeters component.
Returns:
a String representing the distance (in meters) to where the driver has to perform the core maneuver (such as taking the actual turn)

getTimeToActionInSeconds

public java.lang.String getTimeToActionInSeconds()
This returns the timeToActionInSeconds component.
Returns:
a String representing the time (in seconds) before the driver has to perform the core maneuver (such as taking the actual turn)

getNumExitsBeforeAction

public java.lang.String getNumExitsBeforeAction()
This returns the numExitsBeforeAction component.
Returns:
a String representing the number of exits before the actual maneuver (counting exits is especially helpful for shorter maneuvers)

getSignsBeforeAction

public java.util.List getSignsBeforeAction()
This returns the signsBeforeAction component.
Returns:
a List representing the Strings of messages on the street sign predicting the turn

getDistAfterActionInMeters

public java.lang.String getDistAfterActionInMeters()
This returns the distAfterActionInMeters component.
Returns:
a String representing the distance (in meters) to simply continue after the actual maneuver (such as a turn)

getTimeAfterActionInSeconds

public java.lang.String getTimeAfterActionInSeconds()
This returns the timeAfterActionInSeconds component.
Returns:
a String representing the time (in seconds) to simply continue after the actual maneuver (such as a turn)

getCurrentRoadName

public java.lang.String getCurrentRoadName()
This returns the currentRoadName component.
Returns:
a String representing the name of the current road (you are on)

getTargetRoadName

public java.lang.String getTargetRoadName()
This returns the targetRoadName component.
Returns:
a String representing the name of the target road (you would like to get onto)

setCurrentRoadName

public void setCurrentRoadName(java.lang.String sCurrentRoadName)
This sets the currentRoadName component.
Parameters:
sCurrentRoadName - a String representing the name of the current road (you are on)

setTargetRoadName

public void setTargetRoadName(java.lang.String sTargetRoadName)
This sets the targetRoadName component.
Parameters:
sTargetRoadName - a String representing the name of the target road (you would like to get onto)

getCurrentRoadType

public java.lang.String getCurrentRoadType()
This returns the currentRoadType component.
Returns:
a String representing the type of the current road (you are on) (possible values are ROADTYPE_PARKWAY, ROADTYPE_LANE, ROADTYPE_FREEWAY, ROADTYPE_STREET, ROADTYPE_EXPRESSWAY, ROADTYPE_THROUGHWAY, ROADTYPE_TURNPIKE, ROADTYPE_COURT, ROADTYPE_ROAD)

getTargetRoadType

public java.lang.String getTargetRoadType()
This returns the targetRoadType component.
Returns:
a String representing the type of the target road (you would like to get onto) (possible values are ROADTYPE_PARKWAY, ROADTYPE_LANE, ROADTYPE_FREEWAY, ROADTYPE_STREET, ROADTYPE_EXPRESSWAY, ROADTYPE_THROUGHWAY, ROADTYPE_TURNPIKE, ROADTYPE_COURT, ROADTYPE_ROAD)

getCurrentRoadCategory

public java.lang.String getCurrentRoadCategory()
This returns the currentRoadCategory component.
Returns:
a String representing the category of the current road (you are on) (possible values are ROADCATEGORY_ROAD, ROADCATEGORY_MOTORWAY, ROADCATEGORY_RAMP, ROADCATEGORY_FERRY_WATER, ROADCATEGORY_FERRY_RAIL, ROADCATEGORY_TRAFFIC_CIRCLE, ROADCATEGORY_TUNNEL)

getTargetRoadCategory

public java.lang.String getTargetRoadCategory()
This returns the targetRoadCategory component.
Returns:
a String representing the category of the target road (you would like to get onto) (possible values are ROADCATEGORY_ROAD, ROADCATEGORY_MOTORWAY, ROADCATEGORY_RAMP, ROADCATEGORY_FERRY_WATER, ROADCATEGORY_FERRY_RAIL, ROADCATEGORY_TRAFFIC_CIRCLE, ROADCATEGORY_TUNNEL)

getCurrentRoadOrientation

public java.lang.String getCurrentRoadOrientation()
This returns the targetRoadCategory component.
Returns:
a String representing the orientation of the current road (you are on) (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E; less commonly also: DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)

getTargetRoadOrientation

public java.lang.String getTargetRoadOrientation()
This returns the targetRoadOrientation component.
Returns:
a String representing the orientation of the target road (you would like to get onto) (possible values are DIRECTION_N, DIRECTION_S, DIRECTION_W, DIRECTION_E; less commonly also: DIRECTION_NW, DIRECTION_NE, DIRECTION_SW, DIRECTION_SE)

getExitNum

public java.lang.String getExitNum()
This returns the exitNum component.
Returns:
a String representing the number of the exit (note that this is different from numExitsBeforeAction)

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.