com.supermap.services.providers
Class AbstractCapabilitiesRequest
- java.lang.Object
-
- com.supermap.services.providers.AbstractDocumentGetRequest
-
- com.supermap.services.providers.AbstractCapabilitiesRequest
-
- Direct Known Subclasses:
- CapabilitiesRequest10000
public abstract class AbstractCapabilitiesRequest extends AbstractDocumentGetRequest
GetCapabilities request class of WFS service.
Used to get the XML document obtained by executing the GetCapabilities request on the WFS service.
-
-
Field Summary
Fields Modifier and Type Field and Description protected java.lang.StringversionThe version number of the WFS service request that was sent.-
Fields inherited from class com.supermap.services.providers.AbstractDocumentGetRequest
password, serviceURL, URL_CHARSET, userName
-
-
Constructor Summary
Constructors Modifier Constructor and Description protectedAbstractCapabilitiesRequest(java.lang.String serviceURL, java.lang.String userName, java.lang.String password, java.lang.String version)Build the AbstractCapabilitiesRequest object based on the WFS service address, user name, password, WFS service version number.
-
Method Summary
Methods Modifier and Type Method and Description protected java.lang.StringBuffergetBaseURL()Constructs the URI of the GetCapabilities request.abstract org.w3c.dom.DocumentgetCapabilities()Execute a GetCapabilities request on the target WFS service to get the responsed XML document.-
Methods inherited from class com.supermap.services.providers.AbstractDocumentGetRequest
appendKVP, appendKVP, getDocument
-
-
-
-
Field Detail
-
version
protected java.lang.String version
The version number of the WFS service request that was sent.
-
-
Constructor Detail
-
AbstractCapabilitiesRequest
protected AbstractCapabilitiesRequest(java.lang.String serviceURL, java.lang.String userName, java.lang.String password, java.lang.String version)Build the AbstractCapabilitiesRequest object based on the WFS service address, user name, password, WFS service version number.
- Parameters:
service- URL The URI root of the target WFS service.userName- username.password- password.version- The version number of the WFS service request that was sent.
-
-
Method Detail
-
getCapabilities
public abstract org.w3c.dom.Document getCapabilities()
Execute a GetCapabilities request on the target WFS service to get the responsed XML document.
- Returns:
- XML document. The response result of the GetCapabilities request.
-
getBaseURL
protected java.lang.StringBuffer getBaseURL()
Constructs the URI of the GetCapabilities request. Includes the SERVICE, REQUEST and VERSION parameter.
- Returns:
- Execute the URI of the GetCapabilities request.
-
-