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.
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,
java.lang.String isoLocales,
java.lang.String corporateURL,
java.lang.String serviceVersion,
java.lang.String corporateLogoURL)
Constructor |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
getProviderName
public java.lang.String getProviderName()
- This returns the provider name
- Returns:
- a String representing the provider name
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()