Class GazetteerLocator

java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.gazetteer.GazetteerLocator
All Implemented Interfaces:
org.gvsig.tools.locator.Locator, org.gvsig.tools.locator.Locator_withExists

public class GazetteerLocator extends org.gvsig.tools.locator.AbstractLocator
This Locator provides the entry point for the gvSIG GazetteerManager
Author:
Jorge Piera
See Also:
  • Locator
  • Field Details

    • GAZETTEER_MANAGER_NAME

      public static final String GAZETTEER_MANAGER_NAME
      GazetteerManager name used by the locator to access the instance
      See Also:
  • Constructor Details

    • GazetteerLocator

      public GazetteerLocator()
  • Method Details

    • getLocatorName

      public String getLocatorName()
    • getGazetteerManager

      public static GazetteerManager getGazetteerManager() throws org.gvsig.tools.locator.LocatorException
      Return a reference to GazetteerManager.
      Returns:
      a reference to GazetteerManager
      Throws:
      org.gvsig.tools.locator.LocatorException - if there is no access to the class or the class cannot be instantiated
      See Also:
      • Locator.get(String)
    • getInstance

      public static GazetteerLocator getInstance()
      Return the singleton instance.
      Returns:
      the singleton instance
    • registerGazetteerManager

      public static void registerGazetteerManager(Class clazz)
      Registers the Class implementing the GazetteerManager interface.
      Parameters:
      clazz - implementing the IGazetteerServiceDriver interface