|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfigurationGeoMap
Defines the methods to retrieve geography map configuration service.
| Nested Class Summary | |
|---|---|
static class |
ConfigurationGeoMap.MapServicePolicy
The map service policy which control how to connect to geography map service. |
| Method Summary | |
|---|---|
java.util.List<java.util.List<java.lang.String>> |
getMapServiceAddresses(int mapType,
ConfigurationGeoMap.MapServicePolicy policy)
Gets the available map service addresses according to the specified map type and policy. |
ConfigurationGeoMap.MapServicePolicy |
getMapServicePolicy()
Retrieves the map service policy which control how to connect to geography map service. |
java.util.Map<java.lang.String,java.lang.String> |
getMapServiceProperties(int mapType)
Retrieves the properties of the specified mapType. |
java.lang.String |
getMapServiceProperty(int mapType,
java.lang.String propName)
Gets a property value of the specified mapType and property name. |
| Method Detail |
|---|
ConfigurationGeoMap.MapServicePolicy getMapServicePolicy()
java.util.List<java.util.List<java.lang.String>> getMapServiceAddresses(int mapType,
ConfigurationGeoMap.MapServicePolicy policy)
Returns List of List of String (each represents URL).
mapType - the map type.policy - the map service policy.
ConfigurationGeoMap.MapServicePolicy.OFF, the result list size is 0MapServicePolicy#INTR_SERVICE_ONLY ,
the result list size is 1 which the element is the list of Intranet addressesConfigurationGeoMap.MapServicePolicy.INTERNET_SERVICE_ONLY,
the result list size is 1 which the element is the list of Internet addressesConfigurationGeoMap.MapServicePolicy.INTRANET_SERVICE_FIRST,
the result list size is 2,
which the first element is the list of Local addresses
and the second one is the list of Internet addressesConfigurationGeoMap.MapServicePolicy.INTERNET_SERVICE_FIRST,
the result list size is 2,
which the first element is the list of Internet addresses
and the second one is the list of Intranet addresses.
java.lang.String getMapServiceProperty(int mapType,
java.lang.String propName)
mapType - the map type.propName - the property name.
java.util.Map<java.lang.String,java.lang.String> getMapServiceProperties(int mapType)
mapType - the map type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||