Package org.gvsig.remoteclient.wfs
Class WFSProtocolHandlerFactory
java.lang.Object
org.gvsig.remoteclient.wfs.WFSProtocolHandlerFactory
- Author:
- Jorge Piera Llodrá (piera_jor@gva.es)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WFSProtocolHandlercreateVersionDriver(String version) It creates an instance of a WFSDriver class.static ListgetRequestableVersions(String host, boolean ignoreCache) Gets the intersection between the versions supported by the server and the versions supported by the applicationstatic WFSProtocolHandlerEstablece la versión con la que se comunicará con el servidor y devuelve el objeto Capabilities obtenido con dicha versión
-
Field Details
-
wFSProtocolHandler
-
-
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:
ConnectExceptionIOException
-
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:
IOExceptionConnectException
-
createVersionDriver
It creates an instance of a WFSDriver class.- Parameters:
String- , with the version of the driver to be created- Returns:
- WFSDriver.
-