Class Xml2dbLocator

java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.tools.locator.BaseLocator
org.gvsig.xml2db.lib.api.Xml2dbLocator
All Implemented Interfaces:
org.gvsig.tools.locator.Locator, org.gvsig.tools.locator.Locator_withExists

public class Xml2dbLocator extends org.gvsig.tools.locator.BaseLocator
This locator is the entry point for the XML library, providing access to all XML services through the Xml2dbManager
  • Field Details

  • Constructor Details

    • Xml2dbLocator

      public Xml2dbLocator()
  • Method Details

    • getInstance

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

      public String getLocatorName()
      Returns the Locator's name
      Specified by:
      getLocatorName in interface org.gvsig.tools.locator.Locator
      Overrides:
      getLocatorName in class org.gvsig.tools.locator.BaseLocator
      Returns:
      a String with the Locator's name
    • getManager

      public static Xml2dbManager getManager() throws org.gvsig.tools.locator.LocatorException
      Return a reference to XMLLocator.
      Returns:
      a reference to XMLLocator
      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)
    • getXml2dbManager

      public static Xml2dbManager getXml2dbManager() throws org.gvsig.tools.locator.LocatorException
      Throws:
      org.gvsig.tools.locator.LocatorException
    • registerXMLManager

      public static void registerXMLManager(Class clazz)
      Registers the Class implementing the XMLLocator interface.
      Parameters:
      clazz - implementing the XMLLocator interface
    • registerDefaultXMLManager

      public static void registerDefaultXMLManager(Class clazz)
      Registers the default Class implementing the XMLLocator interface
      Parameters:
      clazz - implementing the XMLLocator interface