Class GeometryLocator

java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.fmap.geom.GeometryLocator
All Implemented Interfaces:
org.gvsig.tools.locator.Locator, org.gvsig.tools.locator.Locator_withExists

public class GeometryLocator extends org.gvsig.tools.locator.AbstractLocator
This Locator provides the entry point for the gvSIG GeometryManager.
Author:
gvSIG team
See Also:
  • Locator
  • Field Details

    • GEOMETRY_MANAGER_NAME

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

    • GeometryLocator

      public GeometryLocator()
  • Method Details

    • getInstance

      public static GeometryLocator getInstance()
      Return the singleton instance.
      Returns:
      the singleton instance
    • getLocatorName

      public String getLocatorName()
    • getGeometryManager

      public static GeometryManager getGeometryManager() throws org.gvsig.tools.locator.LocatorException
      Return a reference to GeometryManager.
      Returns:
      a reference to GeometryManager
      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)
    • registerGeometryManager

      public static void registerGeometryManager(Class clazz)
      Registers the Class implementing the GeometryManager interface.
      Parameters:
      clazz - implementing the GeometryManager interface