org.gvsig.fmap.geom
Class GeometryLocator
java.lang.Object
org.gvsig.tools.locator.AbstractLocator
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}
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
GeometryLocator
public GeometryLocator()
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.