Package org.gvsig.newlayer
Class NewLayerLocator
java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.tools.locator.BaseLocator
org.gvsig.newlayer.NewLayerLocator
- All Implemented Interfaces:
org.gvsig.tools.locator.Locator,org.gvsig.tools.locator.Locator_withExists
public class NewLayerLocator
extends org.gvsig.tools.locator.BaseLocator
This locator is the entry point for the NewLayer library, providing
access to all NewLayer services through the
NewLayerManager
.- Version:
- $Id$
- Author:
- gvSIG team
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NewLayerLocatorReturn the singleton instance.final StringReturn the Locator's name.static NewLayerManagerReturn a reference to the NewLayerManager.static voidregisterManager(Class<? extends NewLayerManager> clazz) Registers the Class implementing the NewLayerManager interface.Methods inherited from class org.gvsig.tools.locator.AbstractLocator
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
-
Field Details
-
MANAGER_NAME
NewLayer manager name.- See Also:
-
MANAGER_DESCRIPTION
NewLayer manager description.- See Also:
-
-
Constructor Details
-
NewLayerLocator
public NewLayerLocator()
-
-
Method Details
-
getInstance
Return the singleton instance.- Returns:
- the singleton instance
-
getLocatorName
Return the Locator's name.- Specified by:
getLocatorNamein interfaceorg.gvsig.tools.locator.Locator- Overrides:
getLocatorNamein classorg.gvsig.tools.locator.BaseLocator- Returns:
- a String with the Locator's name
-
getManager
Return a reference to the NewLayerManager.- Returns:
- a reference to the NewLayerManager
- Throws:
org.gvsig.tools.locator.LocatorException- if there is no access to the class or the class cannot be instantiated- See Also:
-
registerManager
Registers the Class implementing the NewLayerManager interface.- Parameters:
clazz- implementing the NewLayerManager interface
-