|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.panama.spatial.SpatialManager
This class defines a manager that can generate service objects for geocoding, routing and YP. This class defines final variables only and is thread-safe.
Constructor Summary | |
SpatialManager() |
Method Summary | |
static YPBusiness |
createBusiness(Location location, java.lang.String telephone, java.lang.String description) This function creates an object of a class implementing YPBusiness. |
static Location |
createLocation(Point geom, java.lang.String companyName, java.lang.String houseNumber, java.lang.String[] intersectingStreetNames, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String countryName) This function creates an object of a class implementing Location. |
static Location |
createLocation(Point geom, java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String lastLine, java.lang.String countryName) Deprecated. Replaced by createLocation(Point, String, String, String[], String, String, String, String, String, String) to reduce ambiguity of representation. |
static Location |
createLocation(Point geom, java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String countryName) Deprecated. Replaced by createLocation(Point, String, String, String[], String, String, String, String, String, String) to reduce ambiguity of representation. |
static Location |
createLocation(Point geom, java.lang.String matchCode, java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String lastLine, java.lang.String countyName, java.lang.String blockNum) Deprecated. Replaced by createLocation(Point, String, String, String[], String, String, String, String, String, String) to reduce ambiguity of representation. |
static Location |
createLocation(Point geom, java.lang.String matchCode, java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String lastLine, java.lang.String countyName, java.lang.String blockNum, java.lang.String countryName) Deprecated. Replaced by createLocation(Point, String, String, String[], String, String, String, String, String, String) to reduce ambiguity of representation. |
static Location |
createLocation(RMRegion region) This function creates an object of a class implementing Location. |
static Location |
createLocation(java.lang.String companyName, java.lang.String houseNumber, java.lang.String[] intersectingStreetNames, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String countryName) This function creates an object of a class implementing Location. |
static Location |
createLocation(java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String lastLine, java.lang.String countryName) Deprecated. Replaced by createLocation(String, String, String[], String, String, String, String, String, String) to reduce ambiguity of representation. |
static Location |
createLocation(java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String countryName) Deprecated. Replaced by createLocation(String, String, String[], String, String, String, String, String, String) to reduce ambiguity of representation. |
static Point |
createPoint() This function creates an object of a class implementing Point. |
static Point |
createPoint(double longitude, double latitude) This function creates an object of a class implementing Point. |
static Point |
createPoint(double longitude, double latitude, double radiusInMeters) This function creates an object of a class implementing Point. |
static Point |
createPoint(double longitude, double latitude, java.lang.String label) This function creates an object of a class implementing Point. |
static Point |
createPoint(double longitude, double latitude, java.lang.String label, double radiusInMeters) This function creates an object of a class implementing Point. |
static Geocoder |
getGeocoder() This returns a Geocoder object. |
static Geocoder |
getGeocoder(java.lang.Class[] providersToAvoid) |
static Geocoder |
getGeocoder(java.lang.String overridingProviderChoice) This returns a Geocoder object. |
static Mapper |
getMapper() This returns a Mapper object. |
static Mapper |
getMapper(java.lang.Class[] providersToAvoid) |
static Mapper |
getMapper(java.lang.String overridingProviderChoice) This returns a Mapper object. |
static int |
getNumOfAllGeocodingProviders() |
static int |
getNumOfAllMappingProviders() |
static int |
getNumOfAllRoutingProviders() |
static int |
getNumOfAllTrafficProviders() |
static int |
getNumOfAllYPProviders() |
static RegionModel |
getRegionModel() Get RegionModel. |
static Router |
getRouter() This returns a Router object. |
static Router |
getRouter(java.lang.Class[] providersToAvoid) |
static Router |
getRouter(java.lang.String overridingProviderChoice) This returns a Router object. |
static TrafficReporter |
getTrafficReporter() |
static YPFinder |
getYPFinder() This returns a YPFinder object. |
static YPFinder |
getYPFinder(java.lang.Class[] providersToAvoid) |
static YPFinder |
getYPFinder(java.lang.String overridingProviderChoice) This returns a YPFinder object. |
static boolean |
isCovered(java.lang.Class aClass, java.lang.Class[] types) |
static java.util.Iterator |
listAllGeocodingProviders() This function returns an Iterator enumerating all geocoding providers in undefined order. |
static java.util.Iterator |
listAllMappingProviders() This function returns an Iterator enumerating all mapping providers in undefined order. |
static java.util.Iterator |
listAllRoutingProviders() This function returns an Iterator enumerating all routing providers in undefined order. |
static java.util.Iterator |
listAllTrafficProviders() |
static java.util.Iterator |
listAllYPProviders() This function returns an Iterator enumerating all YP providers in undefined order. |
static void |
reloadPropertiesAndXMLFiles() |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SpatialManager()
Method Detail |
public static Geocoder getGeocoder()
public static Mapper getMapper()
public static Router getRouter()
public static YPFinder getYPFinder()
public static Geocoder getGeocoder(java.lang.String overridingProviderChoice)
overridingProviderChoice
- a String representing the name of the preferred providerpublic static Geocoder getGeocoder(java.lang.Class[] providersToAvoid)
public static Mapper getMapper(java.lang.String overridingProviderChoice)
overridingProviderChoice
- a String representing the name of the preferred providerpublic static Mapper getMapper(java.lang.Class[] providersToAvoid)
public static Router getRouter(java.lang.String overridingProviderChoice)
overridingProviderChoice
- a String representing the name of the preferred providerpublic static Router getRouter(java.lang.Class[] providersToAvoid)
public static YPFinder getYPFinder(java.lang.String overridingProviderChoice)
overridingProviderChoice
- a String representing the name of the preferred providerpublic static YPFinder getYPFinder(java.lang.Class[] providersToAvoid)
public static TrafficReporter getTrafficReporter()
public static void reloadPropertiesAndXMLFiles()
public static Location createLocation(Point geom, java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String lastLine, java.lang.String countryName)
geom
- a Geometry representing the lat/lon of the locationcompanyName
- a String representing the company namefirstLine
- a String representing the first address linesecondLine
- a String representing the second address linelastLine
- a String representing the last address linecountryName
- a String representing the countrypublic static Location createLocation(Point geom, java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String countryName)
geom
- a Geometry representing the lat/lon of the locationcompanyName
- a String representing the company namefirstLine
- a String representing the first address linesecondLine
- a String representing the second address linecityName
- a String representing the city namestateName
- a String representing the state namepostalCode
- a String representing the postal codepostalCodeExt
- a String representing the postal code extensioncountryName
- a String representing the countrypublic static Location createLocation(Point geom, java.lang.String matchCode, java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String lastLine, java.lang.String countyName, java.lang.String blockNum)
geom
- a Geometry representing the lat/lon of the locationmatchCode
- a String representing the match code from geocodingcompanyName
- a String representing the company namefirstLine
- a String representing the first address linesecondLine
- a String representing the second address linecityName
- a String representing the city namestateName
- a String representing the state namepostalCode
- a String representing the postal codepostalCodeExt
- a String representing the postal code extensionlastLine
- a String representing the last address linecountyName
- a String representing the county nameblockNum
- a String representing the block numberpublic static Location createLocation(Point geom, java.lang.String matchCode, java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String lastLine, java.lang.String countyName, java.lang.String blockNum, java.lang.String countryName)
geom
- a Geometry representing the lat/lon of the locationmatchCode
- a String representing the match code from geocodingcompanyName
- a String representing the company namefirstLine
- a String representing the first address linesecondLine
- a String representing the second address linecityName
- a String representing the city namestateName
- a String representing the state namepostalCode
- a String representing the postal codepostalCodeExt
- a String representing the postal code extensionlastLine
- a String representing the last address linecountyName
- a String representing the county nameblockNum
- a String representing the block numbercountryName
- a String representing the countrypublic static Location createLocation(java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String lastLine, java.lang.String countryName)
companyName
- a String representing the company namefirstLine
- a String representing the first address linesecondLine
- a String representing the second address linelastLine
- a String representing the last address linecountryName
- a String representing the countrypublic static Location createLocation(java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String countryName)
companyName
- a String representing the company namefirstLine
- a String representing the first address linesecondLine
- a String representing the second address linecityName
- a String representing the city namestateName
- a String representing the state namepostalCode
- a String representing the postal codepostalCodeExt
- a String representing the postal code extensioncountryName
- a String representing the countrypublic static Location createLocation(java.lang.String companyName, java.lang.String houseNumber, java.lang.String[] intersectingStreetNames, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String countryName)
companyName
- a String representing the company namehouseNumber
- a String representing the house numberintersectingStreetNames
- a String array representing the street names on the intersection (if the address is an intersection); in that case no house number is used; if the address is not an intersection, on the other hand, then only one street name is used (and the house number)secondLine
- a String representing the second address linecityName
- a String representing the city namestateName
- a String representing the state namepostalCode
- a String representing the postal codepostalCodeExt
- a String representing the postal code extensioncountryName
- a String representing the countrypublic static Location createLocation(RMRegion region)
region
- a RMRegion object representing a region from region modelpublic static Location createLocation(Point geom, java.lang.String companyName, java.lang.String houseNumber, java.lang.String[] intersectingStreetNames, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String countryName)
geom
- a Geometry representing the lat/lon of the locationcompanyName
- a String representing the company namehouseNumber
- a String representing the house numberintersectingStreetNames
- a String array representing the street names on the intersection (if the address is an intersection); in that case no house number is used; if the address is not an intersection, on the other hand, then only one street name is used (and the house number)secondLine
- a String representing the second address linecityName
- a String representing the city namestateName
- a String representing the state namepostalCode
- a String representing the postal codepostalCodeExt
- a String representing the postal code extensioncountryName
- a String representing the countrypublic static Point createPoint()
public static Point createPoint(double longitude, double latitude)
longitude
- a double representing the longitude of this PointImpl (must not be null)latitude
- a double representing the latitude of this PointImpl (must not be null)public static Point createPoint(double longitude, double latitude, double radiusInMeters)
longitude
- a double representing the longitude of this PointImpl (must not be null)latitude
- a double representing the latitude of this PointImpl (must not be null)radiusInMeters
- a double representing an optional radius around this pointpublic static Point createPoint(double longitude, double latitude, java.lang.String label)
longitude
- a double representing the longitude of this PointImpl (must not be null)latitude
- a double representing the latitude of this PointImpl (must not be null)label
- a String representing a label for this PointImpl (may be null)public static Point createPoint(double longitude, double latitude, java.lang.String label, double radiusInMeters)
longitude
- a double representing the longitude of this PointImpl (must not be null)latitude
- a double representing the latitude of this PointImpl (must not be null)label
- a String representing a label for this PointImpl (may be null)radiusInMeters
- a double representing an optional radius around this pointpublic static java.util.Iterator listAllGeocodingProviders()
public static int getNumOfAllGeocodingProviders()
public static java.util.Iterator listAllMappingProviders()
public static int getNumOfAllMappingProviders()
public static java.util.Iterator listAllRoutingProviders()
public static int getNumOfAllRoutingProviders()
public static java.util.Iterator listAllYPProviders()
public static int getNumOfAllYPProviders()
public static java.util.Iterator listAllTrafficProviders()
public static int getNumOfAllTrafficProviders()
public static YPBusiness createBusiness(Location location, java.lang.String telephone, java.lang.String description)
location
- A Location object representing the address and/or location coordinates of the business. This is an essential component of a Location object and should not be null. However, it is not checked whether the value is non-null.telephone
- a String representing the telephone number of the business (may be null)description
- a String representing a description of the business (may be null)public static RegionModel getRegionModel()
public static boolean isCovered(java.lang.Class aClass, java.lang.Class[] types)
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |