Interface IDiscoveryServiceDriver

All Known Subinterfaces:
ICatalogServiceDriver
All Known Implementing Classes:
AbstractCatalogServiceDriver, AbstractDiscoveryServiceDriver, CSWCatalogServiceDriver, CSWebRIMCatalogServiceDriver, CSWISO19115CatalogServiceDriver, SRWCatalogServiceDriver, Z3950CatalogServiceDriver

public interface IDiscoveryServiceDriver
Author:
Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
  • Method Details

    • getCapabilities

      It try to discover the server capabilities.
      Parameters:
      uri - Server URI
      Returns:
      Node with the server answer.
      Throws:
      NotSupportedVersionException
    • isProtocolSupported

      boolean isProtocolSupported(URI uri) throws NotSupportedProtocolException
      It have to prove if the specified protocol is supported.
      Parameters:
      uri - Server URI
      Returns:
      true if is supported, false if it isn't supported
      Throws:
      NotSupportedProtocolException
    • getServerAnswerReady

      String getServerAnswerReady()
      It return a message to write in the server connection frame
      Returns:
      It is/isn't the supported protocol
    • setServerAnswerReady

      void setServerAnswerReady(String message)
      It sets an error message
    • getDefaultPort

      int getDefaultPort()
      Returns:
      the dafault port for an specific service
    • getDefaultSchema

      String getDefaultSchema()
      Returns:
      the dafault schema for an specific service
    • getServiceName

      String getServiceName()
      Returns:
      the service name that will be showed in the user interface
    • toString

      String toString()
      This message will be showed in the protocols combo
      Overrides:
      toString in class Object
      Returns:
      The message to show
    • getAditionalSearchPanel

      SearchAditionalPropertiesPanel getAditionalSearchPanel()
      There are protocols that can support other attributes to do the search. They have to provide its own panel to do the search
      Returns:
      JPanel with a list of properties.
    • createQuery

      DiscoveryServiceQuery createQuery()
      Create and return an empty query
      Returns:
    • getOneServer

      org.gvsig.utils.swing.jcomboServer.ServerData getOneServer()
      Returns:
      if the protocol always works with the same server