|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provide functions that return traffic report with different queries.
| Field Summary | |
static java.lang.String |
DAYA constant to indicate the day time unit |
static java.lang.String |
EASTA constant to indicate east |
static java.lang.String |
HOURA constant to indicate the hour time unit |
static int |
KILOMETERSA constant to indicate the kilometers unit |
static int |
MILESA constant to indicate the miles unit |
static java.lang.String |
MINUTEA constant to indicate the minute time unit |
static java.lang.String |
MONTHA constant to indicate the month time unit |
static java.lang.String |
NORTHA constant to indicate north |
static double |
RADIUSThe default radius for a location/address query |
static java.lang.String |
SOUTHA constant to indicate south |
static java.lang.String |
UNKNOWNA constant to indicate an unknown direction |
static java.lang.String |
WESTA constant to indicate west |
static java.lang.String |
YEARA constant to indicate the year time unit |
| Method Summary | |
TrafficCityManager |
getCityManager()Returns the city manager |
TrafficReport |
getReportViaAddress(Location address, double radius, int unit)Return a report with the incidents information on a circle area. |
TrafficReport |
getReportViaCity(CityInfo city)Return a report with the incidents information all over the city. |
TrafficReport |
getReportViaLocation(Point location, double radius, int unit)Return a report with the incidents information on the requested circle area. |
TrafficReport |
getReportViaLocation(Point location, double radius, int unit, CityInfo city)Return a report with the incidents information on a requested circle area. |
TrafficReport |
getReportViaRoute(RouteInfo route, CityInfo city)Return a report with the incidents information only on the requested route. |
TrafficReport |
getReportViaRoute(RouteInfo route, java.lang.String direction, CityInfo city)Return a report with the incidents information only on the requested direction of the route. |
java.lang.String |
xmlTraffic(org.w3c.dom.Document xmlRequest) |
| Field Detail |
public static final java.lang.String DAY
public static final java.lang.String EAST
public static final java.lang.String HOUR
public static final int KILOMETERS
public static final int MILES
public static final java.lang.String MINUTE
public static final java.lang.String MONTH
public static final java.lang.String NORTH
public static final double RADIUS
public static final java.lang.String SOUTH
public static final java.lang.String UNKNOWN
public static final java.lang.String WEST
public static final java.lang.String YEAR
| Method Detail |
public TrafficCityManager getCityManager()
TrafficCityManager which is used for querying cities and routes information.TrafficCityManager
public TrafficReport getReportViaAddress(Location address,
double radius,
int unit)
throws LBSException
address - an Location instance including the address informationTrafficReportLBSExceptionTrafficReport
public TrafficReport getReportViaCity(CityInfo city)
throws LBSException
TrafficReportLBSExceptionTrafficReport
public TrafficReport getReportViaLocation(Point location,
double radius,
int unit)
throws LBSException
TrafficReportLBSExceptionTrafficReport
public TrafficReport getReportViaLocation(Point location,
double radius,
int unit,
CityInfo city)
throws LBSException
TrafficReportLBSExceptionTrafficReport
public TrafficReport getReportViaRoute(RouteInfo route,
CityInfo city)
throws LBSException
TrafficReportLBSExceptionTrafficReport
public TrafficReport getReportViaRoute(RouteInfo route,
java.lang.String direction,
CityInfo city)
throws LBSException
TrafficReportLBSExceptionTrafficReport
public java.lang.String xmlTraffic(org.w3c.dom.Document xmlRequest)
throws LBSException
LBSException
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||