org.gvsig.remoteclient.wfs
Class WFSProtocolHandlerFactory
java.lang.Object
org.gvsig.remoteclient.wfs.WFSProtocolHandlerFactory
public class WFSProtocolHandlerFactory
- extends java.lang.Object
- Author:
- Jorge Piera Llodrá (piera_jor@gva.es)
|
Method Summary |
static WFSProtocolHandler |
createVersionDriver(java.lang.String version)
It creates an instance of a WFSDriver class. |
static java.util.List |
getRequestableVersions(java.lang.String host)
Gets the intersection between the versions supported by the server
and the versions supported by the application |
static WFSProtocolHandler |
negotiate(java.lang.String host)
Establece la versión con la que se comunicará con el servidor y devuelve
el objeto Capabilities obtenido con dicha versión |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wFSProtocolHandler
public WFSProtocolHandler wFSProtocolHandler
WFSProtocolHandlerFactory
public WFSProtocolHandlerFactory()
createVersionDriver
public static WFSProtocolHandler createVersionDriver(java.lang.String version)
- It creates an instance of a WFSDriver class.
- Parameters:
String, - with the version of the driver to be created
- Returns:
- WFSDriver.
getRequestableVersions
public static java.util.List getRequestableVersions(java.lang.String host)
throws java.net.ConnectException,
java.io.IOException
- Gets the intersection between the versions supported by the server
and the versions supported by the application
- Throws:
java.io.IOException
java.net.ConnectException
negotiate
public static WFSProtocolHandler negotiate(java.lang.String host)
throws java.net.ConnectException,
java.io.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:
java.net.ConnectException
java.io.IOException
Copyright © 2014 gvSIG Association. All Rights Reserved.