Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.spatial
Class Provider

java.lang.Object
  |
  +--oracle.panama.spatial.Provider

public class Provider
extends java.lang.Object

This class defines an external provider for services such as geocoding, routing or YP. This class defines immutable objects and is thread-safe.


Constructor Summary
Provider()
           
Provider(java.lang.String providerName, java.lang.String providerImpl, java.lang.String url, java.lang.String userName, java.lang.String userPassword, java.lang.String parameters)
          Constructor
Provider(java.lang.String providerName, java.lang.String providerImpl, java.lang.String url, java.lang.String userName, java.lang.String userPassword, java.lang.String parameters, java.lang.String isoLocales, java.lang.String corporateURL, java.lang.String serviceVersion, java.lang.String corporateLogoURL)
          Constructor

 

Method Summary
 java.lang.String getCorporateLogoURL()
           
 java.lang.String getCorporateURL()
           
 java.lang.String getISOLocales()
          This returns the ISO country IDs for which the provider can deliver its service.
 ProviderCredit getProviderCredit()
           
 java.lang.String getProviderImpl()
          This returns the provider adapter implementation (class name)
 java.lang.String getProviderName()
          This returns the provider name
 java.lang.String getServiceVersion()
           
 void setLoggingOfProviderState(boolean logProviderState)
           
static void setLoggingOfProviderStateForAll(boolean logProviderState)
           

 

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

 

Constructor Detail

Provider

public Provider()

Provider

public Provider(java.lang.String providerName,
                java.lang.String providerImpl,
                java.lang.String url,
                java.lang.String userName,
                java.lang.String userPassword,
                java.lang.String parameters,
                java.lang.String isoLocales,
                java.lang.String corporateURL,
                java.lang.String serviceVersion,
                java.lang.String corporateLogoURL)
Constructor
Parameters:
providerName - a String representing the provider name (must not be null)
providerImpl - a String representing the implementation that adapts to the relevant provider (must not be null)
url - a String representing the url of the provider (may be null if the implementation does not need this external information)
userName - a String representing the user name assigned by the provider (may be null if access to provider service is free)
userPassword - a String representing the user password assigned by the provider (may be null if access to provider service is free)
parameters - a String representing specific parameters needed by the provider (may be null)
isoLocales - a String representing the ISO country IDs for countries in which the provider can deliver its service

Provider

public Provider(java.lang.String providerName,
                java.lang.String providerImpl,
                java.lang.String url,
                java.lang.String userName,
                java.lang.String userPassword,
                java.lang.String parameters)
Constructor
Parameters:
providerName - a String representing the provider name (must not be null)
providerImpl - a String representing the implementation that adapts to the relevant provider (must not be null)
url - a String representing the url of the provider (may be null if the implementation does not need this external information)
userName - a String representing the user name assigned by the provider (may be null if access to provider service is free)
userPassword - a String representing the user password assigned by the provider (may be null if access to provider service is free)
parameters - a String representing specific parameters needed by the provider (may be null)
Method Detail

getProviderName

public java.lang.String getProviderName()
This returns the provider name
Returns:
a String representing the provider name

getProviderImpl

public java.lang.String getProviderImpl()
This returns the provider adapter implementation (class name)
Returns:
a String representing the class name of the provider adapter implementation

getProviderCredit

public ProviderCredit getProviderCredit()

getISOLocales

public java.lang.String getISOLocales()
This returns the ISO country IDs for which the provider can deliver its service.
Returns:
a String representing the ISO country names, semicolon-delimited

getCorporateURL

public java.lang.String getCorporateURL()

getServiceVersion

public java.lang.String getServiceVersion()

getCorporateLogoURL

public java.lang.String getCorporateLogoURL()

setLoggingOfProviderStateForAll

public static void setLoggingOfProviderStateForAll(boolean logProviderState)

setLoggingOfProviderState

public void setLoggingOfProviderState(boolean logProviderState)

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.