Class WFSProtocolHandlerFactory

java.lang.Object
org.gvsig.remoteclient.wfs.WFSProtocolHandlerFactory

public class WFSProtocolHandlerFactory extends Object
Author:
Jorge Piera Llodrá (piera_jor@gva.es)
  • Field Details

  • Constructor Details

    • WFSProtocolHandlerFactory

      public WFSProtocolHandlerFactory()
  • Method Details

    • negotiate

      public static WFSProtocolHandler negotiate(String host, boolean ignoreCache) throws ConnectException, IOException
      Establece la versión con la que se comunicará con el servidor y devuelve el objeto Capabilities obtenido con dicha versión
      Parameters:
      host - maquina con la que se negocia
      Returns:
      instancia de un cliente capaz de negociar con el host que se pasa como parámetro
      Throws:
      ConnectException
      IOException
    • getRequestableVersions

      public static List getRequestableVersions(String host, boolean ignoreCache) throws ConnectException, IOException
      Gets the intersection between the versions supported by the server and the versions supported by the application
      Throws:
      IOException
      ConnectException
    • createVersionDriver

      public static WFSProtocolHandler createVersionDriver(String version)
      It creates an instance of a WFSDriver class.
      Parameters:
      String - , with the version of the driver to be created
      Returns:
      WFSDriver.