com.esri.core.tasks.ags.na
Enum DirectionsStringType

java.lang.Object
  extended by java.lang.Enum<DirectionsStringType>
      extended by com.esri.core.tasks.ags.na.DirectionsStringType
All Implemented Interfaces:
Serializable, Comparable<DirectionsStringType>

public enum DirectionsStringType
extends Enum<DirectionsStringType>

The enumeration types of direction strings. These are associated with the more detailed direction info passed back from a route solving operation.

Since:
10.1.1

Enum Constant Summary
ALT_NAME
          Alternate street name directions string type.
ARRIVE
          Arrive directions string type.
BRANCH
          Sign branch information directions string type.
CROSS_STREET
          Cross street name directions string type.
CUMULATIVE_LENGTH
          Cumulative Length directions string type.
DEPART
          Depart directions string type.
ESTIMATED_ARRIVAL_TIME
          Estimated Arrival Time directions string type.
EXIT
          Sign exit number directions string type.
GENERAL
          General directions string type.
LENGTH
          Length directions string type.
SERVICE_TIME
          Service Time directions string type.
STREET_NAME
          Street name directions string type.
SUMMARY
          Sumamry directions string type.
TIME
          Time directions string type.
TIME_WINDOW
          Time Window directions string type.
TOWARD
          Sign toward information directions string type.
VIOLATION_TIME
          Violation Time directions string type.
WAIT_TIME
          Wait Time directions string type.
 
Method Summary
static DirectionsStringType fromString(String str)
           
 String toString()
           
static DirectionsStringType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DirectionsStringType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GENERAL

public static final DirectionsStringType GENERAL
General directions string type.


DEPART

public static final DirectionsStringType DEPART
Depart directions string type.


ARRIVE

public static final DirectionsStringType ARRIVE
Arrive directions string type.


LENGTH

public static final DirectionsStringType LENGTH
Length directions string type.


TIME

public static final DirectionsStringType TIME
Time directions string type.


SUMMARY

public static final DirectionsStringType SUMMARY
Sumamry directions string type.


TIME_WINDOW

public static final DirectionsStringType TIME_WINDOW
Time Window directions string type.


VIOLATION_TIME

public static final DirectionsStringType VIOLATION_TIME
Violation Time directions string type.


WAIT_TIME

public static final DirectionsStringType WAIT_TIME
Wait Time directions string type.


SERVICE_TIME

public static final DirectionsStringType SERVICE_TIME
Service Time directions string type.


ESTIMATED_ARRIVAL_TIME

public static final DirectionsStringType ESTIMATED_ARRIVAL_TIME
Estimated Arrival Time directions string type.


CUMULATIVE_LENGTH

public static final DirectionsStringType CUMULATIVE_LENGTH
Cumulative Length directions string type.


STREET_NAME

public static final DirectionsStringType STREET_NAME
Street name directions string type.


ALT_NAME

public static final DirectionsStringType ALT_NAME
Alternate street name directions string type.


BRANCH

public static final DirectionsStringType BRANCH
Sign branch information directions string type.


TOWARD

public static final DirectionsStringType TOWARD
Sign toward information directions string type.


CROSS_STREET

public static final DirectionsStringType CROSS_STREET
Cross street name directions string type.


EXIT

public static final DirectionsStringType EXIT
Sign exit number directions string type.

Method Detail

values

public static DirectionsStringType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DirectionsStringType c : DirectionsStringType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DirectionsStringType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<DirectionsStringType>

fromString

public static DirectionsStringType fromString(String str)
Parameters:
str -
Returns:
Since:
10.1.1


Copyright © 2012. All Rights Reserved.