Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.spatial
Class Provider

java.lang.Object
  extended byoracle.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()
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)
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()
Returns the corporate logo URL
java.lang.String getCorporateURL()
Returns the corporate URL
java.lang.String getISOLocales()
This returns the ISO country IDs for which the provider can deliver its service.
ProviderCredit getProviderCredit()
Returns the provider credit
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()
Returns the provider service version
void setLoggingOfProviderState(boolean logProviderState)
Sets the logging provider state of this provider (on or off)
static void setLoggingOfProviderStateForAll(boolean logProviderState)
Sets the logging provider state of all providers (on or off)

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

Constructor Detail

Provider

public Provider()
Constructor

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)

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

Method Detail

getCorporateLogoURL

public java.lang.String getCorporateLogoURL()
Returns the corporate logo URL
Returns:
the corporate logo URL

getCorporateURL

public java.lang.String getCorporateURL()
Returns the corporate URL
Returns:
the corporate URL

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

getProviderCredit

public ProviderCredit getProviderCredit()
Returns the provider credit
Returns:
the provider credit

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

getProviderName

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

getServiceVersion

public java.lang.String getServiceVersion()
Returns the provider service version
Returns:
the provider service version

setLoggingOfProviderState

public void setLoggingOfProviderState(boolean logProviderState)
Sets the logging provider state of this provider (on or off)

setLoggingOfProviderStateForAll

public static void setLoggingOfProviderStateForAll(boolean logProviderState)
Sets the logging provider state of all providers (on or off)

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.