public class WFSProtocolHandlerFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
WFSProtocolHandler |
wFSProtocolHandler |
Constructor and Description |
---|
WFSProtocolHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
static WFSProtocolHandler |
createVersionDriver(java.lang.String version)
It creates an instance of a WFSDriver class.
|
static java.util.List |
getRequestableVersions(java.lang.String host,
boolean ignoreCache)
Gets the intersection between the versions supported by the server
and the versions supported by the application
|
static WFSProtocolHandler |
negotiate(java.lang.String host,
boolean ignoreCache)
Establece la versión con la que se comunicará con el servidor y devuelve
el objeto Capabilities obtenido con dicha versión
|
public WFSProtocolHandler wFSProtocolHandler
public static WFSProtocolHandler negotiate(java.lang.String host, boolean ignoreCache) throws java.net.ConnectException, java.io.IOException
host
- maquina con la que se negociajava.net.ConnectException
java.io.IOException
public static java.util.List getRequestableVersions(java.lang.String host, boolean ignoreCache) throws java.net.ConnectException, java.io.IOException
java.io.IOException
java.net.ConnectException
public static WFSProtocolHandler createVersionDriver(java.lang.String version)
String,
- with the version of the driver to be created