org.gvsig.fmap.geom
Class GeometryLocator

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

public class GeometryLocator
extends AbstractLocator

This Locator provides the entry point for the gvSIG GeometryManager.

Author:
Jorge Piera
See Also:
Locator}

Field Summary
static String GEOMETRY_MANAGER_NAME
          GeometryManager name used by the locator to access the instance
 
Constructor Summary
GeometryLocator()
           
 
Method Summary
static GeometryManager getGeometryManager()
          Return a reference to GeometryManager.
static GeometryLocator getInstance()
          Return the singleton instance.
 String getLocatorName()
           
static void registerGeometryManager(Class clazz)
          Registers the Class implementing the GeometryManager interface.
 
Methods inherited from class org.gvsig.tools.locator.AbstractLocator
get, getNames, register, register, register, register, registerDefault, registerDefault, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GEOMETRY_MANAGER_NAME

public static final String GEOMETRY_MANAGER_NAME
GeometryManager name used by the locator to access the instance

See Also:
Constant Field Values
Constructor Detail

GeometryLocator

public GeometryLocator()
Method Detail

getInstance

public static GeometryLocator getInstance()
Return the singleton instance.

Returns:
the singleton instance

getLocatorName

public String getLocatorName()

getGeometryManager

public static GeometryManager getGeometryManager()
                                          throws LocatorException
Return a reference to GeometryManager.

Returns:
a reference to GeometryManager
Throws:
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


Copyright © 2004-2012 gvSIG. All Rights Reserved.