igazetteermanager.java

来自「esri的ArcGIS Server超级学习模板程序(for java)」· Java 代码 · 共 45 行

JAVA
45
字号
package com.esri.solutions.jitk.common.gazetteer;

import java.util.ArrayList;
import java.util.Map;


/**
 * Defines a Gazetter Manager that manages configured Gazetteer services
 * and also provides a way to get Gazetteer services based in the ID
 * of the service.
 */
public interface IGazetteerManager {
    /**
     * Initializes the the manager with the given configured services.
     *
     * @param services {@link Map} of Gazetteer services.
     */
    public void init(Map<String, String> services);

    /**
     * Loads the given {@link Map} of Gazetteer services.
     *
     * @param services {@link Map} of Gazetteer services.
     */
    public void loadServices(Map<String, String> services);

    /**
     * Retrieves an {@link ArrayList} of all configured Gazetteer
     * services.
     *
     * @return {@link ArrayList} of configured Gazetteer services.
     */
    public ArrayList<IGazetteerService> getServices();

    /**
     * Retrieves the {@link IGazetteerService} with the given
     * <code>id</code>.  Will return <code>null</code> if no service
     * is found with the <code>id</code>.
     *
     * @param id ID of the requested {@link IGazetteerService}.
     * @return Reference to the {@link IGazetteerService}.
     */
    public IGazetteerService getService(String id);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?